Questions tagged [file-security]

66 questions
0
votes
2 answers

How to enable AWS-S3-security policy for files uploaded in S3

I am working on application in which we upload customers' videos, pdfs and other confidential documents on S3 bucket. Currently, a customer can play these videos in videogular component(Angular component) and PDF files can be read in PDF…
Manan Shah
  • 1,042
  • 2
  • 14
  • 26
0
votes
1 answer

How to securely use Amazon S3 in a messaging application

So I'm building a messaging app in Cordova and I was wondering what the best approach is to secure the image files so no one else can view them. I suppose I can just generate random filenames and store them in the database, but that feels like…
D-Marc
  • 2,937
  • 5
  • 20
  • 28
0
votes
1 answer

catch change in security permission of file without blocking

I want to catch change in security permission of file without blocking till the change is made, like an event that popup when the change is made. I also don't want to install any third party modules or softwares. The main requirement of this is to…
0
votes
1 answer

Got System.InvalidOperationException: Method failed with unexpected error code 64

I am working on getting folder's permission before access in C# console application , the path of folder could be local of ftp.Same is working on my machine but when deploy at production server its start throwing error…
Neeraj Dubey
  • 4,401
  • 8
  • 30
  • 49
0
votes
1 answer

User permissions for reading private dkim file contents within web app

As it stands, when sending email using clients like Thunderbird, my messages get signed with DKIM. However when generating emails from a web application, they do not get signed. I've used a Rails gem called dkim to apply the key upon sending,…
0
votes
0 answers

Allow read/write access to file while blocking everyone else

I have a file that requires a password being written to it. A process reads a password from a file and writes the password to the file so the user that the process runs under requires access to the file. However I wish to block access to everyone…
Fiona
  • 1,599
  • 5
  • 24
  • 38
0
votes
1 answer

Mysql database backup sql file security?

I have a PHP script to backup a database as dbName.sql which can be accessible by anyone. I need to encrypt/decrypt the backup database to be accessible only in my application. How can I do this? Note: I have a list page to download all database…
Jakir Hosen Khan
  • 1,498
  • 1
  • 14
  • 17
0
votes
1 answer

How to remove orphaned accounts on folder permission Programmatically whith c#

I have a little program that removing account permissions from shared folders. But on some folder's security tab there accounts like this "S-1-5-21-2008445439-890656017-1691616715-1589748". I have the permission to login that server and remove…
Engür Canfes
  • 131
  • 1
  • 8
0
votes
1 answer

How to prevent getExternalFilesDir (String type) from creating directory

When i tried to get path from getExternalFilesDir(String type), the directory returned here will be automatically created. How to prevent this scenario. Please help me out ??
Rohan Zemse
  • 49
  • 1
  • 9
0
votes
1 answer

ASP.NET Access to path '\\xxxx' is denied

I know this has come up in other questions, but none seem as simple: I have a UNC share on another machine, with security set to Full Control for Everyone. If I log into my web server, I can access this share. However when I try to access it using…
Paul Grimshaw
  • 19,894
  • 6
  • 40
  • 59
0
votes
3 answers

Tomcat file access restriction/allowance per IP

Is there a way to restrict/allow access to a specific file on Tomcat only to certain IPs? If there is no direct way to do this, what would be a good workaround? I'd really appreciate your help.
user3782265
  • 1
  • 1
  • 1
0
votes
2 answers

File Storage with security in Android

My application is downloading books (zip) through in-app purchase. I want to ask that is there any way in android which allows to store these books with security in SD card or external storage so that no other file manager can delete it ? Any help…
MohK
  • 1,873
  • 1
  • 18
  • 29
0
votes
1 answer

How can an independent DLL find out what Token file accesses will be made with?

If the parent process has used LogonUser so that the access token being used for file access is different than than the token the process was started with, how can the DLL find out the NT User name that the file accesses will be processed under? If…
Peter Nimmo
  • 1,045
  • 2
  • 12
  • 25
0
votes
0 answers

How to restrict user to rename a running executable (exe) file

In Win7 I observed that I can rename a running process file name, I searched about it and came across that this feature is introduced so that application itself can update the binary. I have a windows service and I do not want to allow user to…
Sajad Karim
  • 321
  • 3
  • 18
0
votes
2 answers

Using an encrypted file securely

I'm writing an application with a dBASE database file in Borland Delphi 7. Note: I think this question is file-security related and you can forget the dBASE thing (consider it as a TXT file) in this question. The database must be accessed just by…
Isaac
  • 2,332
  • 6
  • 33
  • 59