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. Forms authentication not securing files(other than web pages) in .net 1.1

Forms authentication not securing files(other than web pages) in .net 1.1

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsecurityhelp
5 Posts 3 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.
  • T Offline
    T Offline
    tonymathewt
    wrote on last edited by
    #1

    I am working on a web application done in ASP.NET 1.1. The issue I face is I am not able to protect the .pdf files using forms authentication. Though the requests to .aspx web pages are redirected to the login page. the pdf files are getting opened in the browser(which does not happen in 2.0/3.5 versions). Another issue I ve observed is that none of the Global.asax events are getting fired during such a request.

    S T 2 Replies Last reply
    0
    • T tonymathewt

      I am working on a web application done in ASP.NET 1.1. The issue I face is I am not able to protect the .pdf files using forms authentication. Though the requests to .aspx web pages are redirected to the login page. the pdf files are getting opened in the browser(which does not happen in 2.0/3.5 versions). Another issue I ve observed is that none of the Global.asax events are getting fired during such a request.

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

      I think Forms Authentication supports from asp.net 2.0 I am Not Sure ..!:~

      LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

      S 1 Reply Last reply
      0
      • S sashidhar

        I think Forms Authentication supports from asp.net 2.0 I am Not Sure ..!:~

        LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

        S Offline
        S Offline
        souidi abderrahman
        wrote on last edited by
        #3

        did you configurate the cobfugration file to secure your application??:confused:

        S 1 Reply Last reply
        0
        • S souidi abderrahman

          did you configurate the cobfugration file to secure your application??:confused:

          S Offline
          S Offline
          sashidhar
          wrote on last edited by
          #4

          souidi abderrahmen wrote:

          did you configurate the cobfugration file to secure your application??

          Why Would i Do tht? ;P You Must Reply to Main guy Not me My Friend..!

          LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.

          1 Reply Last reply
          0
          • T tonymathewt

            I am working on a web application done in ASP.NET 1.1. The issue I face is I am not able to protect the .pdf files using forms authentication. Though the requests to .aspx web pages are redirected to the login page. the pdf files are getting opened in the browser(which does not happen in 2.0/3.5 versions). Another issue I ve observed is that none of the Global.asax events are getting fired during such a request.

            T Offline
            T Offline
            tonymathewt
            wrote on last edited by
            #5

            This thread has helped me fix it. http://stackoverflow.com/questions/272447/net-forms-authentication-how-to-limit-access-to-resources-like-pdf-files-to-aut[^]

            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