Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is there any way to pass username and password from html link to jsf page to by pass the login page
Posted
Comments
E.F. Nijboer 26-Nov-13 2:45am    
If you have a major security leak, yes. But not possible normally of course.
thatraja 26-Nov-13 2:49am    
what's the purpose?

1 solution

Assuming you are using Membership, then probably not: if your user isn't logged in then the Membership system will do an auto redirect to the access denied login page - passing the original URL as the query string so you can return the user there. This overwrites the original query string with your userid and password so you can't get at them to log in...

If you aren't using membership then yes, you could check in your masterpage / every page for a logged in user and if not check the query string for a login id. But...you lose a lot of security that way compared with the Membership system, and also start encouraging your users to broadcast passwords in clear text that can be read at the top of their browser window...

On balance, I wouldn't do it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900