如何在服务器中保护文档 [英] how to secure documents in server

查看:82
本文介绍了如何在服务器中保护文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,有人可以向我推荐解决方案吗?


我需要在

服务器中管理不同类型的文档(doc,xls,ppt等)。我有文件夹结构来维护服务器中的这些文件。


假设folder1拥有所有doc文件; folder2有所有xls文件

等等。

现在这些文件不应该通过直接打字通过url

访问路径。

例如,如果我尝试直接访问 www .mywebsite.com / folder1 / xyz.doc

将在浏览器中打开文档。

同时这些文档只能通过我们的

网站一旦登录。但是如果你知道

路径,你也可以获得这些文件我应该如何避免它?


如何在服务器中为这些文件提供安全保障? ?

解决方案

7月18日上午11:05,RAZZ< rajat82.gu ... @ gmail.comwrote:
< blockquote class =post_quotes>
你好,有人能建议我解决吗?


我需要管理不同类型的文件(doc,xls,ppt等) />
服务器。我有文件夹结构来维护服务器中的这些文件。


假设folder1拥有所有doc文件; folder2有所有xls文件

等等。


现在这些文件不能通过网址访问

直接输入路径。

例如,如果我尝试直接访问www.mywebsite.com/folder1/xyz.docit

将在浏览器中打开文档。

同时这些文件只有在登录后才能通过我们的

网站访问。但是如果你知道

路径,你也可以获得这些文件我应该如何避免它?


如何在服务器中为这些文件提供安全保障? ?



根据网络服务器,您应该查看Apache的.htacceess或IIS的

httpd.ini ......


7月18日,3:08 * pm,GArlington< garling ... @ tiscali.co.ukwrote:


On 7月18日上午11点05分,RAZZ< rajat82.gu ... @ gmail.comwrote:


您好,有谁能建议我解决方案?


我需要在

服务器中管理不同类型的文档(doc,xls,ppt等)。我有文件夹结构来维护这些文件在服务器中。


假设folder1拥有所有doc文件; folder2拥有所有xls文件

等等。


现在这些文件不能通过直接输入路径来通过URL

访问。

例如,如果我尝试直接访问www.mywebsite.com/folder1/xyz.docit

将在浏览器中打开文档。

同时这些文件只有在登录后才能通过我们的

网站访问。但是如果您知道

路径,那么无需登录即可获得这些文档,我该如何避免它?


如何在服务器中为这些文档提供安全性?



根据网络服务器,您应该查看.htacceess for Apache或

httpd.ini for IIS ...



我们正在使用雅虎服务器并且它不允许.htaccess

由开发者上传或操纵

所以有任何其他方式?我只是想要doc或xls文件应该

不能直接打开,除非有人正确登录。


7月18日,11: 14,RAJ< rajat82.gu ... @ gmail.comwrote:


7月18日,3:08 * pm,GArlington< garling ... @ tiscali.co.ukwrote:



7月18日上午11:05,RAZZ< rajat82.gu ... @ gmail .comwrote:


您好,有谁能建议我解决方案?


我需要管理不同类型的文件(doc,xls,ppt等) br />
服务器。我有文件夹结构来维护服务器中的这些文件..


假设folder1拥有所有文档文件; folder2拥有所有xls文件

等等。


现在这些文件无法通过网址获取

直接输入路径。

例如,如果我尝试直接访问www.mywebsite.com/folder1/xyz.docit

将在浏览器中打开文档。

同时这些文件只有在登录后才能通过我们的

网站访问。但是如果您知道

路径,那么无需登录即可获得这些文档,我该如何避免它?


如何在服务器中为这些文档提供安全性?


根据网络服务器,您应该查看Apache的.htacceess或IIS的

httpd.ini。 ..



我们正在使用雅虎服务器并且它不允许.htaccess

由开发人员上传或操作

那么还有其他方法吗?我只想要doc或xls文件应该

不能直接打开,除非有人正确登录.-隐藏引用的文字 -


- 显示引用的文字 -



你不能在雅虎服务器上做多少我害怕。

最常见的方法是将文件存储在网站外面,并使用php脚本传送文件。

我建议你改变主机。那里有更好的价值。


Hello, Can anyone suggest me solution?

I Need to manage different types of documents (doc,xls,ppt etc) in
server. I have folder structure to maintain these documents in server.

Say folder1 is having all doc files; folder2 is having all xls files
and so on.
Now these documents should not be able to get access through the url
by directly typing path.
E-g if I try to access directly www.mywebsite.com/folder1/xyz.doc it
will open the document in browser itself.
At the same time these documents should be access only through our
website once they are login. But without login also if you know the
path you can get these documents how should I avoid it?

How can I provide security to these documents in server?

解决方案

On Jul 18, 11:05 am, RAZZ <rajat82.gu...@gmail.comwrote:

Hello, Can anyone suggest me solution?

I Need to manage different types of documents (doc,xls,ppt etc) in
server. I have folder structure to maintain these documents in server.

Say folder1 is having all doc files; folder2 is having all xls files
and so on.

Now these documents should not be able to get access through the url
by directly typing path.
E-g if I try to access directlywww.mywebsite.com/folder1/xyz.docit
will open the document in browser itself.
At the same time these documents should be access only through our
website once they are login. But without login also if you know the
path you can get these documents how should I avoid it?

How can I provide security to these documents in server?

Depending on webserver your should look at .htacceess for Apache or
httpd.ini for IIS...


On Jul 18, 3:08*pm, GArlington <garling...@tiscali.co.ukwrote:

On Jul 18, 11:05 am, RAZZ <rajat82.gu...@gmail.comwrote:

Hello, Can anyone suggest me solution?

I Need to manage different types of documents (doc,xls,ppt etc) in
server. I have folder structure to maintain these documents in server.

Say folder1 is having all doc files; folder2 is having all xls files
and so on.

Now these documents should not be able to get access through the url
by directly typing path.
E-g if I try to access directlywww.mywebsite.com/folder1/xyz.docit
will open the document in browser itself.
At the same time these documents should be access only through our
website once they are login. But without login also if you know the
path you can get these documents how should I avoid it?

How can I provide security to these documents in server?


Depending on webserver your should look at .htacceess for Apache or
httpd.ini for IIS...

well we are using yahoo server and it doesn''t allow .htaccess to
upload or manipulate by developers
so is there any other way? i just want that doc or xls files should
not be able to open directly unless person has properly login.


On 18 Jul, 11:14, RAJ <rajat82.gu...@gmail.comwrote:

On Jul 18, 3:08*pm, GArlington <garling...@tiscali.co.ukwrote:


On Jul 18, 11:05 am, RAZZ <rajat82.gu...@gmail.comwrote:

Hello, Can anyone suggest me solution?

I Need to manage different types of documents (doc,xls,ppt etc) in
server. I have folder structure to maintain these documents in server..

Say folder1 is having all doc files; folder2 is having all xls files
and so on.

Now these documents should not be able to get access through the url
by directly typing path.
E-g if I try to access directlywww.mywebsite.com/folder1/xyz.docit
will open the document in browser itself.
At the same time these documents should be access only through our
website once they are login. But without login also if you know the
path you can get these documents how should I avoid it?

How can I provide security to these documents in server?

Depending on webserver your should look at .htacceess for Apache or
httpd.ini for IIS...


well we are using yahoo server and it doesn''t allow .htaccess to
upload or manipulate by developers
so is there any other way? i just want that doc or xls files should
not be able to open directly unless person has properly login.- Hide quoted text -

- Show quoted text -

You''re not going to be able to do much on yahoo server I''m afraid. The
most common way to do this is to store the files outside of the web
root and use a php script to deliver the file.

I suggest you change hosts. There are much better value ones out there.


这篇关于如何在服务器中保护文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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