Organizational Research By

Surprising Reserch Topic

how to automatically login to the site using url parameters


how to automatically login to the site using url parameters  using -'jsp'

I had a link  http://uuuu.com/index.jsp?username=user&password=pass .
If the user clicks on the link it should be automatically login to the website with reading the username and password from that url.
So the user no need to fill the username field and password field to view the site.
Is the url format is correct?if not what is the proper format to do it?
    

asked Oct 19, 2015 by rajnipancholi
0 votes
4 views



Related Hot Questions

2 Answers

0 votes

Nobody can comment on whether the URL format is correct or not without knowing the internals of the authentication implementation on the server. One thing is sure - it is a bad idea from security view because parameters appended to the URL are not secure.

answered Oct 19, 2015 by sumit_jaiswalmca
0 votes

I think the format you need is

http://username:password@yoursitename.com

I would still say that this approach is not recommended. You should not pass username and password through URL!

answered Oct 19, 2015 by r3tt

...