SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Add new title here.. john's Avatar
    Join Date
    Jul 1999
    Location
    Amsterdam, The Netherlands
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    access to restricted area with temporary url

    Here's the problem:

    A client wants control over who downloads what from his site. Therefore visitors should only be able to access the download area after filling out a form. After submission a temp url will be emailed to the visitor so he can access the area for a limited period of time.

    The questions:

    Is this possible and if so how?
    Are there scripts out there that can do this?
    Other solutioons maybe?

    I look forward to reading your comments.

    Thanks.

    --John

  2. #2
    SitePoint Enthusiast
    Join Date
    Nov 2002
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Wizard
    Join Date
    Oct 2001
    Posts
    2,686
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    I would send a link with an id (www.yoursite.com/download.php?id=32472348574) in the email.

    This id is also stored in a database with the date/time when the email was send to the user.

    When the user then visit the download page the id will get checked against the database and you can also check that the download is happening within the allowed timerange after the user has submitted his details. If the details are correct the user will be allowed to download.

    Well, that's my suggesttion.

    -Helge

  4. #4
    Add new title here.. john's Avatar
    Join Date
    Jul 1999
    Location
    Amsterdam, The Netherlands
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    M.T.

    Thanks for the links. Exactly what I needed.

    John


Bookmarks

Posting Permissions

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