Questions tagged [protected-folders]

5 questions
2
votes
1 answer

How to get in Apache password protected directories without showing popup login

I read here how to get into an Apache password protected directroy via dircet link with the simple: http://username:password@yoursite.com/protected_dir/ that works in FF/Chrome/Safari, and obviously not in IE7! :) Do you know how could i get into…
Marco Demaio
  • 30,990
  • 33
  • 122
  • 155
1
vote
2 answers

How to protect user based folder and files in asp.net core 2.1 project

I have a folder named archive in my project and have a separate folder for each user. Sample folder structure; Archive(Folder) => User1(Folder) => other folders => files Archive(Folder) => User2(Folder) => other folders => files ... I don't want a…
1
vote
1 answer

Git bash `cp` – Exclude "protected operating system files" (and what are those?)

If I try to copy my home directory using cp in Git bash (on Windows 7), more than I want will be copied. The following is an example to demonstrate the issue. In reality I want to copy recursively, but I don't in this example to speed things…
lydell
  • 927
  • 9
  • 15
1
vote
1 answer

Access a locked folder

Ok so my supervisor is currently testing something with Windows Permission Settings for folders, basically setting who can access it and who can't. He wants me to find out if I can get in, without permissions. Basically checking how secure this…
moonblade
  • 277
  • 1
  • 3
  • 13
0
votes
3 answers

(C#) How do you check if a path is a protected path in Windows that requires elevation to modify?

We have a folder where our app will be potentially reading, writing and creating/deleting files on, and while we can default to a safe location, we allow the user to select a different directory. How can we check if the directory they select is…
Davy8
  • 29,246
  • 22
  • 107
  • 172