I needs to add some custom script validation on "Umbarco/Login.aspx" page. But the problem is that i cannot find that page under "Umbraco" folder on my project.
I have found "umb-login.html" where i have added javascipt but it's NOT executing.
I have also tried on "login.html" but yet not working.
So can you please let me know where i can add custom script on login page of umbraco ?
Yes i want to restrict the access of "Umbraco" for external user by adding some custom javascript code / C# code if possible.
Somehow by applying IP Restriction in IIS OR URL Rewrite in IIS. But then it will stop some ANTI FORGERY stuff on AJAX method call.
So i thought if i can do it on Umbraco backoffice login page. At the time of loading umbraco backoffice Login page , i can write some validation to checck for IP and redirect User.
"But then it will stop some ANTI FORGERY stuff on AJAX method call" <= this is not true, as I said in the other thread. If you only restrict access to exactly /umbraco/ and not everything that starts with /umbraco/..
add custom script / code on umbraco login page
Hi
I needs to add some custom script validation on "Umbarco/Login.aspx" page. But the problem is that i cannot find that page under "Umbraco" folder on my project.
I have found "umb-login.html" where i have added javascipt but it's NOT executing.
I have also tried on "login.html" but yet not working.
So can you please let me know where i can add custom script on login page of umbraco ?
It;s really urgent
Thanks
Rohan Dave
Hi Rohan
What kind of custom functionality do you need to add to the login page? And is it the login page to the Umbraco backoffice?
When you added your own script did you then try to recycle the app pool afterwards?
/Jan
Hi Jan
Yes i want to restrict the access of "Umbraco" for external user by adding some custom javascript code / C# code if possible.
Somehow by applying IP Restriction in IIS OR URL Rewrite in IIS. But then it will stop some ANTI FORGERY stuff on AJAX method call.
So i thought if i can do it on Umbraco backoffice login page. At the time of loading umbraco backoffice Login page , i can write some validation to checck for IP and redirect User.
Please help me here. It's really very urgent
Thanks
Rohan
Duplicate: https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/61365-how-to-restrict-Umbraco-backoffice-access-from-external-users
"But then it will stop some ANTI FORGERY stuff on AJAX method call" <= this is not true, as I said in the other thread. If you only restrict access to exactly
/umbraco/
and not everything that starts with/umbraco/..
is working on a reply...