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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Need help its urgent please please help

Need help its urgent please please help

Scheduled Pinned Locked Moved C#
csharptestingcollaborationbeta-testinghelp
5 Posts 4 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.
  • K Offline
    K Offline
    Kunal Sagwaria
    wrote on last edited by
    #1

    Hi, I am working in C#.NET environment. In project some swf files has been displayed to only logged in users , and this swf files displayed by the coding. But in testing face my testing team informed me that they are able to access those swf files without logged in. When I asked them about the process. Then they told me that First they read my source code from the browsers view source page. After reading the source they got the full path of swf files. They simply copy that path and past on to the browser. And really I follow this step and able to see that swf files. For protect this swf files I gone through all the settings of my site. And remove the read permission to swf files folder. And tested I got success now without logged in users are not able to view those swf files but when user logged into the site and request to view those swf files then that users is not able to view the swf files. Now please tell me that I can denied those users to see my swf files who are not logged in. Thanks. Kunal Sagwaria

    H 1 Reply Last reply
    0
    • K Kunal Sagwaria

      Hi, I am working in C#.NET environment. In project some swf files has been displayed to only logged in users , and this swf files displayed by the coding. But in testing face my testing team informed me that they are able to access those swf files without logged in. When I asked them about the process. Then they told me that First they read my source code from the browsers view source page. After reading the source they got the full path of swf files. They simply copy that path and past on to the browser. And really I follow this step and able to see that swf files. For protect this swf files I gone through all the settings of my site. And remove the read permission to swf files folder. And tested I got success now without logged in users are not able to view those swf files but when user logged into the site and request to view those swf files then that users is not able to view the swf files. Now please tell me that I can denied those users to see my swf files who are not logged in. Thanks. Kunal Sagwaria

      H Offline
      H Offline
      Haseeb Mukhtar
      wrote on last edited by
      #2

      Hello Kunal Sagwaria You can play with read permissions, if the use logged in then y coding change read permission for specific file, but this is not a good solution. You can also place complete SWF files in database, which is better solution for protecting swf files. But keep in mind that logged in user can save those swf files into his local computer.

      K 1 Reply Last reply
      0
      • H Haseeb Mukhtar

        Hello Kunal Sagwaria You can play with read permissions, if the use logged in then y coding change read permission for specific file, but this is not a good solution. You can also place complete SWF files in database, which is better solution for protecting swf files. But keep in mind that logged in user can save those swf files into his local computer.

        K Offline
        K Offline
        Kunal Sagwaria
        wrote on last edited by
        #3

        First of all thanks for the quick reply. Now suppose i change the method and now store all the swf files in database then i will be able to check user validation for using that swf files. this is good. now how to stop saving those swf files on local computers from the logged in users. Kunal Sagwaria

        S 1 Reply Last reply
        0
        • K Kunal Sagwaria

          First of all thanks for the quick reply. Now suppose i change the method and now store all the swf files in database then i will be able to check user validation for using that swf files. this is good. now how to stop saving those swf files on local computers from the logged in users. Kunal Sagwaria

          S Offline
          S Offline
          subrata jana
          wrote on last edited by
          #4

          hi if ur are using c# then u can stop downloading the entire page in clients machine. In Page_load 1st line should be.. Response.Cache.SetCacheability(HttpCacheability.NoCache); in js also u can do it. It maynot be soln to ur needs. pls check.

          J 1 Reply Last reply
          0
          • S subrata jana

            hi if ur are using c# then u can stop downloading the entire page in clients machine. In Page_load 1st line should be.. Response.Cache.SetCacheability(HttpCacheability.NoCache); in js also u can do it. It maynot be soln to ur needs. pls check.

            J Offline
            J Offline
            J4amieC
            wrote on last edited by
            #5

            subrata.jana wrote:

            in js also u can do it. It maynot be soln to ur needs.

            plz dnt us txtspk in da 4rm, thr is no nd lk on da fone

            --- How to get answers to your questions[^]

            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