我要删除MS Access文件时输入密码 [英] Input password when i want to delete MS Access File

查看:73
本文介绍了我要删除MS Access文件时输入密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好所有访客
我创建了一个设置密码的访问文件.因此,当我打开该文件时,我需要输入密码.这是MS.Access的安全性.
删除MS Access文件时是否可能需要输入密码?
如果可能的话,我该怎么办?

最好的问候,
TONY

Hi all visitors
i have create one access file that set password. so when i open that file, i need to input password.this is the security of MS.Access.
Is it possible that when i delete MS Access file, i need to input password?
if it is possible, how can i do?

Best Regards,
TONY

推荐答案

访问密码仅用于保护数据库文件的内部".由于数据库只是一个文件,因此它无法保护自己免受操作系统操作的影响.

但是,您可以使用Windows安全性在文件(或目录)上设置适当的特权.例如,您可以授予读写权限,但拒绝(或不授予)删除权限.这不能保护文件的内容,因为具有写特权的人可以破坏文件的内容,但是根据您的情况,它可能是可用的.

如果您不授予或拒绝文件的删除权限,请记住还要检查用户在该目录中是否具有删除子文件夹和文件"特权.这是因为如果您具有该特权,它将覆盖缺少单个文件删除特权的问题.
The Access password is used only to protect the ''inside'' of the database file. Since the database is just a file, it cannot protect itself from operating system operations.

However, what you can do is to set proper privileges on the file (or directory) using windows security. For example you can grant read and write but deny (or not grant) delete. This doesn''t protect the contents of the file since a person with write privileges can destroy the contents but depending on your situation it may be usable.

If you don''t give or deny the delete permission on the file, remember also to check if the users have "delete subfolders and files" privilege in that directory. This is because if you have that privilege it overrides the lack of a single file deletion privilege.


这篇关于我要删除MS Access文件时输入密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆