Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Secure area aspx + c#

Secure area aspx + c#

Scheduled Pinned Locked Moved ASP.NET
csharpsecurityhelptutorialquestion
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Spanky3
    wrote on last edited by
    #1

    Basically i would like to create a members only area where users need to be logged in to view and download files like .doc and jpgs I've used forms authentication to prevent users navigating in the members area fine. The problem is if a person uses the absolute path for a file eg: .doc or .jpg they are able to access the file fine. Any ideas on how to stop this or any articles which i can read? Cheers, Spanky:-D

    S 1 Reply Last reply
    0
    • S Spanky3

      Basically i would like to create a members only area where users need to be logged in to view and download files like .doc and jpgs I've used forms authentication to prevent users navigating in the members area fine. The problem is if a person uses the absolute path for a file eg: .doc or .jpg they are able to access the file fine. Any ideas on how to stop this or any articles which i can read? Cheers, Spanky:-D

      S Offline
      S Offline
      Spanky3
      wrote on last edited by
      #2

      I've used James Coleman's[^] tutorial but its not very feasible. Obviously theres rarely any hosts who will allow files to be stored on their server. The other method was using IIS to add a map path for the file types which need authenticating again hosts rarely alter IIS for you. Anyone had exp of SSL ?

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups