encrypt pdf file string

Author Message
mxstar45

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 2/7/2011
  • Status: offline
encrypt pdf file string Monday, February 07, 2011 1:38 AM (permalink)
0
Hello,
I don't know if this is the correct place to post this but I have a question regarding to classic asp.
I have a page that has a few text boxes on it and are filled based upon a persons information. Like Name, telephone number, address etc
The data is stored in an Access DB.
 
I want to add a check box and have a label beside it that if it's checked it shows a hyperlink to a pdf file, if its not checked the link disappears, so toggle between the two.
Here's the check box I have so far, which isn't much:
<br><input type=checkbox name="Password" value="<%=oRs("Password")%>" size=40> Check to show PDF File:  <a href="<%=oRs("Password")%>"><%=oRs("Password")%></a><br><br>
I need this hyperlink/ string to be encrypted based upon the persons name, so each person has its own pdf file and no one can just guess anothers pdf file and have access to it....
The pdf file will be stored in a virtual directory within the site.
I don't know Vb or asp, and I'm doing this all in notepad ++
Is this possible?
 
 
#1
    webber123456

    • Total Posts : 58
    • Scores: 0
    • Reward points : 0
    • Joined: 9/20/2007
    • Status: offline
    Re:encrypt pdf file string Tuesday, February 22, 2011 6:28 AM (permalink)
    0
    have you tried it ?
     
    your code looks fine.  let us know if you're getting any errors and we can assist from there.
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9