Hide code form other FTP users

Discussion in 'ASP General' started by Nick Ashton, Jul 4, 2003.

  1. Nick Ashton

    Nick Ashton Guest

    Hi

    Whilst browsing the MSDN on day, I am sure I saw an
    article on 'How to encode your ASP code within the asp
    page', but I can not find it again. Can anyone help me
    please.

    If I remember the article correctly, before putting the
    page on the server, you add special tags before and after
    any sensitive code. You then upload the page to any asp
    server and when called, the server will re-write the page,
    encodeing the requirerd section to make it un readable (to
    the average person) from then on.

    The problem is that I have to upload code (that I have
    spent months working on) to another developers web space,
    and I would like them not to have the oppertunity of
    reading it. It is not that I don't trust them, just I
    would like some privacy on this.

    Nick
    Nick Ashton, Jul 4, 2003
    #1
    1. Advertising

  2. Nick Ashton

    Evertjan. Guest

    Nick Ashton wrote on 04 jul 2003 in
    microsoft.public.inetserver.asp.general:
    > Whilst browsing the MSDN on day, I am sure I saw an
    > article on 'How to encode your ASP code within the asp
    > page', but I can not find it again. Can anyone help me
    > please.
    >
    > If I remember the article correctly, before putting the
    > page on the server, you add special tags before and after
    > any sensitive code. You then upload the page to any asp
    > server and when called, the server will re-write the page,
    > encodeing the requirerd section to make it un readable (to
    > the average person) from then on.
    >
    > The problem is that I have to upload code (that I have
    > spent months working on) to another developers web space,
    > and I would like them not to have the oppertunity of
    > reading it. It is not that I don't trust them, just I
    > would like some privacy on this.
    >
    > Nick


    You can hide it from http users,
    but not from authorised ftp users with asp code,
    because asp code won't be executed on a ftp read.

    Start your secret.asp page with:

    <%
    response.redirect "\404.asp"
    %>

    or

    <%
    response.redirect "\mockup.asp"
    %>



    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan., Jul 4, 2003
    #2
    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. someone

    FTP over SSL vs FTP over SSH

    someone, Apr 24, 2004, in forum: Java
    Replies:
    1
    Views:
    4,563
    iksrazal
    Apr 25, 2004
  2. Replies:
    3
    Views:
    5,595
  3. Nico Grubert
    Replies:
    0
    Views:
    617
    Nico Grubert
    Nov 24, 2005
  4. Nico Grubert
    Replies:
    0
    Views:
    433
    Nico Grubert
    Nov 25, 2005
  5. D. Buck
    Replies:
    2
    Views:
    458
    D. Buck
    Jun 29, 2004
Loading...

Share This Page