Home All Groups Group Topic Archive Search About

How to hide the text in url?

Author
19 Sep 2006 8:39 PM
Me
I am passing the userid and password from one asp page to another,
how can I restrict it from displaying it on the url?

Eg. http://mywebsite/employeeinformation.asp?variable=myname

I would like it to show just
http://mywebsite or at the most http://mywebsite/employeeinformation.asp.

Thank you,
-Me

Author
19 Sep 2006 8:47 PM
Bob Barrows [MVP]
Me wrote:
> I am passing the userid and password from one asp page to another,
> how can I restrict it from displaying it on the url?
>
> Eg. http://mywebsite/employeeinformation.asp?variable=myname
>
> I would like it to show just
> http://mywebsite or at the most
> http://mywebsite/employeeinformation.asp.
>
Simple. don't pass sensitive information in the URL. Use the Session
object to preserve this information - no need to pass it from page to
page.


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Are all your drivers up to date? click for free checkup

Author
20 Sep 2006 3:23 PM
Me
Thanks Bob,
-Me

Show quoteHide quote
"Bob Barrows [MVP]" wrote:

> Me wrote:
> > I am passing the userid and password from one asp page to another,
> > how can I restrict it from displaying it on the url?
> >
> > Eg. http://mywebsite/employeeinformation.asp?variable=myname
> >
> > I would like it to show just
> > http://mywebsite or at the most
> > http://mywebsite/employeeinformation.asp.
> >
> Simple. don't pass sensitive information in the URL. Use the Session
> object to preserve this information - no need to pass it from page to
> page.
>
>
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>
>
Author
19 Sep 2006 8:50 PM
Steven Burn
Stick it in a session var?, a DB?

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Show quoteHide quote
"Me" <M*@discussions.microsoft.com> wrote in message
news:43EB1F21-D42D-4A3C-87B0-CA46EE128BD0@microsoft.com...
> I am passing the userid and password from one asp page to another,
> how can I restrict it from displaying it on the url?
>
> Eg. http://mywebsite/employeeinformation.asp?variable=myname
>
> I would like it to show just
> http://mywebsite or at the most http://mywebsite/employeeinformation.asp.
>
> Thank you,
> -Me
>
Author
20 Sep 2006 3:23 PM
Me
Thank you Steve,
-Me

Show quoteHide quote
"Steven Burn" wrote:

> Stick it in a session var?, a DB?
>
> --
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
> "Me" <M*@discussions.microsoft.com> wrote in message
> news:43EB1F21-D42D-4A3C-87B0-CA46EE128BD0@microsoft.com...
> > I am passing the userid and password from one asp page to another,
> > how can I restrict it from displaying it on the url?
> >
> > Eg. http://mywebsite/employeeinformation.asp?variable=myname
> >
> > I would like it to show just
> > http://mywebsite or at the most http://mywebsite/employeeinformation.asp.
> >
> > Thank you,
> > -Me
> >
>
>
>
Author
19 Sep 2006 8:52 PM
Dave Anderson
Me wrote:
> I am passing the userid and password from one asp page to
> another, how can I restrict it from displaying it on the
> url?
>
> Eg. http://mywebsite/employeeinformation.asp?variable=myname

If you do not want credentials in the querystring, do not put them there.

That leaves the rest of the request, including headers. None of these is an
especially great parking place for credentials unless you are using SSL.

The *simplest* solution is probably to use integrated Windows security.
Alternately, you could store credentials in session variables. Your question
is far to general to merit further comment.




--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Author
20 Sep 2006 3:24 PM
Me
Thank you Dave, I realized that I need help in setting up session variables.

-Me

Show quoteHide quote
"Dave Anderson" wrote:

> Me wrote:
> > I am passing the userid and password from one asp page to
> > another, how can I restrict it from displaying it on the
> > url?
> >
> > Eg. http://mywebsite/employeeinformation.asp?variable=myname
>
> If you do not want credentials in the querystring, do not put them there.
>
> That leaves the rest of the request, including headers. None of these is an
> especially great parking place for credentials unless you are using SSL.
>
> The *simplest* solution is probably to use integrated Windows security.
> Alternately, you could store credentials in session variables. Your question
> is far to general to merit further comment.
>
>
>
>
> --
> Dave Anderson
>
> Unsolicited commercial email will be read at a cost of $500 per message. Use
> of this email address implies consent to these terms.
>
>
>

Bookmark and Share