Modify browser url
-
-
I don't think that you can make the URL readonly. But why exactly you want to make that readonly?
Best Regards, Apurva Kaushal
let take example :- i have url like www.domainname.com/admin/Page1.aspx and www.domainname.com/sa/Page1.aspx and let say user is login to application having url in broswer www.domainname.com/admin/Page1.aspx and the same user know this other url of site i.e www.domainname.com/sa/Page1.aspx and if he made changes in browser address bar by replacing admin word by sa still he see that page and which i want to avoid ... Is there other way to avoid this ....
-
let take example :- i have url like www.domainname.com/admin/Page1.aspx and www.domainname.com/sa/Page1.aspx and let say user is login to application having url in broswer www.domainname.com/admin/Page1.aspx and the same user know this other url of site i.e www.domainname.com/sa/Page1.aspx and if he made changes in browser address bar by replacing admin word by sa still he see that page and which i want to avoid ... Is there other way to avoid this ....
You can have check for the user credentials in the page load event i.e if a user is a normal user and trying to go on the admin page then you trap that in the load event and then redirect him to the login page. One other way is to rewrite the URL but again it won't be of that much effect as user can event track the rewritten URL also.
Best Regards, Apurva Kaushal
-
check out this link Securing Directories with Role-based Forms Authentication http://www.codeproject.com/aspnet/formsroleauth.asp Hope this will help u Navin
-
You can have check for the user credentials in the page load event i.e if a user is a normal user and trying to go on the admin page then you trap that in the load event and then redirect him to the login page. One other way is to rewrite the URL but again it won't be of that much effect as user can event track the rewritten URL also.
Best Regards, Apurva Kaushal
-
You can have check for the user credentials in the page load event i.e if a user is a normal user and trying to go on the admin page then you trap that in the load event and then redirect him to the login page. One other way is to rewrite the URL but again it won't be of that much effect as user can event track the rewritten URL also.
Best Regards, Apurva Kaushal
hello apurva, i need ur urgent help.sorry to interupting in any other thred. i have one problem.. i read so many article on usert control but not getting how to achieve this? Upload new modules i) Each module consist of ascx (asp/net user controls) & programming script and database script – modules can be any programming/database (PHP/mySQL or ASP/mySQL or ASP/Access or PHP/Access or Asp.net/MS SQL etc etc ) – every time a new module is added the super admin can specify the programming and or database (1) Admin should be able: (a) to upload ascx controls for backend administration and PHP User Modules with database script file (b) Publish Modules to all accounts or to select accounts only Plz Any One Can help me to do this..or give me any idea for doing this. i'm working on CMS Project. thanx