Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    358
    Thanks
    2
    Thanked 0 Times in 0 Posts

    how to hide the actual ASP file path that shown in Address bar?

    Dear,

    i show some web site can hide the current asp file in the Address bar.
    Example:
    the actual path should be www.AAA.com/ContactUs/display.asp
    but at the address bar it show www.AAA.com ONLY...


    how to do that???
    Thanks.
    =====================================================
    From NinjaTurtle
    ++http://ohmygoh.blogspot.com|http://technology.ohmygoh.com++

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    simplest solution : use a framepage. (but this has some downsides (bookmarking etc))

    alternative: mod rewrite
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Posts
    358
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Dear,

    Can u tell me more about the alrternative way(mod rewrite) of doing that???
    Thanks.
    =====================================================
    From NinjaTurtle
    ++http://ohmygoh.blogspot.com|http://technology.ohmygoh.com++

  • #4
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    Is there any compelling reason you want to hide the url?
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    358
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Dear,

    i am trying to send my demo set of system which written by ASP to my client, but i dun want to let them see the interlinkage.
    Thanks.
    =====================================================
    From NinjaTurtle
    ++http://ohmygoh.blogspot.com|http://technology.ohmygoh.com++

  • #6
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,068
    Thanks
    0
    Thanked 256 Times in 252 Posts
    What's wrong with seeing the url?
    If I were you I won't bother with that too much.
    Glenn
    ____________________________________

    My Blog
    Tower of Hanoi Android app (FREE!)
    Tower of Hanoi Leaderboard
    Samegame Facebook App
    vBulletin Plugins
    ____________________________________

  • #7
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    They can basically just look at your source or statusbar to see where you post your forms to or where your links point to.

    anyway, mod-rewrite is supposed to add additional security because the filesystem-structure and the used server side language is obfuscated. (kina week arguments, if you ask me)

    If it's just for a demosystem, then just create aframepage with at the top, a frame (complete length but just a few lines heigd) where you put some image ('Demo'-environment) on a red background or so. The second frame (below the first one) then contains your actual site.

    If you need more info on mod-rewrite for IIS, then google for it.Plenty oflinks will popup.
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Location
    41° 8' 52" N -95° 53' 31" W
    Posts
    3,660
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think he wants to encrypt the URL randomly per session so it cannot be downloaded again, EVER, unless someone logs in and requests the file.

    Hotmail does this every time I request an email, it can't be TOO hard (but they have the best spam email filtering system I've EVER seen, so they must know something!)...

    Now that I got laid off (yeah... ) I'm going to seriously start looking into stuff like this that I never had time for before! WOOHOO!
    Former ASP Forum Moderator - I'm back!

    If you can teach yourself how to learn, you can learn anything. ;)

  • #9
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I don't know if he means that, but this should not be done manupulating the url since there are better ways (like simply setting a sessionvariable and checking against that).
    But achieving this is rather easy. You just encode your sessionID and append it to each url. (you could do this by storing all output in a variable and then using a regew or so. there's probably a way to have it added automatically as is done in PHP for users with cookies disabled. maybe check out the Cookie Munger)
    Posting guidelines I use to see if I will spend time to answer your question : http://www.catb.org/~esr/faqs/smart-questions.html

  • #10
    Regular Coder
    Join Date
    Jun 2002
    Posts
    358
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Dear all (Whammy),

    actually i try to think about the way of what u mention b4(encrypt the URL) but i have no idea to do that, so i try to play around with others ways... like hide URL without using Frame, encrypt URL, Store into Session....

    hmmm.... tired....


    i wonder how those ppl selling PURE ASP application?? how they can prevent thier client misuse of the set of source???
    what is the BEST(SAFETY) way(s) to "install" the ASP application in the client side without any misuse of source code???
    Thanks.
    =====================================================
    From NinjaTurtle
    ++http://ohmygoh.blogspot.com|http://technology.ohmygoh.com++


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •