How can I hide a link?

Discussion in 'ASP .Net' started by needin4mation@gmail.com, Apr 28, 2006.

  1. Guest

    Hi, I have an older webpage that uses a querystring to send data to an
    asp classic page. In that link there is data that contains sensitive
    information. I do not want this displayed when the user hovers over
    the link. I can change the events to have window.status="", and I am
    thinking I could just change from GET to POST, but the user could
    always just view the source of the page to circumvent those minor
    impediments.

    Is there an ASP.NET 2.0 way I could hide this information? Thank you
    for any ideas. I can rewrite all pages involved. I just need to fix
    it.
    , Apr 28, 2006
    #1
    1. Advertising

  2. You need to do this right, or not bother at all. If you don't want the user
    to use the link directly in the future, you don't want to use QueryString to
    pass it. It will be in the HTML, even if you manage to hide it from the
    status bar, the properties dialog (which is impossible) or anything else.
    Post the page to the server and do a redirect.

    --
    HTH,

    Kevin Spencer
    Microsoft MVP
    Professional Numbskull

    Hard work is a medication for which
    there is no placebo.

    <> wrote in message
    news:...
    > Hi, I have an older webpage that uses a querystring to send data to an
    > asp classic page. In that link there is data that contains sensitive
    > information. I do not want this displayed when the user hovers over
    > the link. I can change the events to have window.status="", and I am
    > thinking I could just change from GET to POST, but the user could
    > always just view the source of the page to circumvent those minor
    > impediments.
    >
    > Is there an ASP.NET 2.0 way I could hide this information? Thank you
    > for any ideas. I can rewrite all pages involved. I just need to fix
    > it.
    >
    Kevin Spencer, Apr 28, 2006
    #2
    1. Advertising

  3. You may want to store the sensitive data in Session object, and have the
    hash key(not a hash... actually, but you get the idea.) be passed in the
    querystring instead.

    <>
    ???????:...
    > Hi, I have an older webpage that uses a querystring to send data to an
    > asp classic page. In that link there is data that contains sensitive
    > information. I do not want this displayed when the user hovers over
    > the link. I can change the events to have window.status="", and I am
    > thinking I could just change from GET to POST, but the user could
    > always just view the source of the page to circumvent those minor
    > impediments.
    >
    > Is there an ASP.NET 2.0 way I could hide this information? Thank you
    > for any ideas. I can rewrite all pages involved. I just need to fix
    > it.
    >
    Lau Lei Cheong, Apr 29, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Spencer

    Re: Link Link Link DANGER WILL ROBINSON!!!

    Kevin Spencer, May 17, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    800
    Kevin Spencer
    May 17, 2005
  2. =?Utf-8?B?Sm9l?=

    Show Details/Hide Details link button

    =?Utf-8?B?Sm9l?=, Mar 13, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    899
    dkode
    Mar 13, 2006
  3. Chris
    Replies:
    0
    Views:
    528
    Chris
    Jun 19, 2007
  4. Mick Walker

    Hide Link Button on Master Page

    Mick Walker, Aug 26, 2007, in forum: ASP .Net
    Replies:
    10
    Views:
    889
  5. Millie
    Replies:
    2
    Views:
    125
    Thomas 'PointedEars' Lahn
    Nov 18, 2003
Loading...

Share This Page