安全的文件上传和下载

问题描述:

您好,

不确定这是否与php有关,但我想要某些

用户能够将文件上传到我的网站,以及其他人来b / b
下载文件。

我想过.htaccess和基本身份验证,但后来我认为

这不是非常安全我想知道是否有一个PHP解决方案,

将用户上传和下载分成两个单独的

部分?我在phpbuilder.com上查看了一些脚本,但是他们似乎并没有和我一起使用的php5一起工作。

谢谢。

Dave。

Hello,
Not sure if this is php related or not, but i''d like to have certain
users who have the ability to upload files to my site, and others to
download files.
I thought about .htaccess and basic authentication, but then i thought
that''s not very secure i was wondering if there was a php solution,
something that splits user uploads and downloads in to two separate
sections? I checked out some scripts on phpbuilder.com but they don''t seem
to work with php5 which is what i''m using.
Thanks.
Dave.



" Dave" < dm ******* @ woh.rr.com在留言中写道

news:47 ********************* *@roadrunner.com ...

"Dave" <dm*******@woh.rr.comwrote in message
news:47**********************@roadrunner.com...

你好,

不确定这是否与php有关,但我想要某些

用户有能力将文件上传到我的网站,而其他用户则需要下载文件。

我想过.htaccess和基本的身份验证,但后来我认为

'不是很安全我想知道是否有一个PHP解决方案,

分割用户上传和下载到的东西两个单独的

部分?我在phpbuilder.com上查看了一些脚本,但是他们似乎没有使用php5这是我正在使用的工作。

谢谢。
Hello,
Not sure if this is php related or not, but i''d like to have certain
users who have the ability to upload files to my site, and others to
download files.
I thought about .htaccess and basic authentication, but then i thought
that''s not very secure i was wondering if there was a php solution,
something that splits user uploads and downloads in to two separate
sections? I checked out some scripts on phpbuilder.com but they don''t seem
to work with php5 which is what i''m using.
Thanks.



好​​吧,至少他们不是相反...意思是,如果脚本

有效,但你想要它们php5-ified,然后5-ify他们。否则,php5将会更多地运行它们而不提及它们是php< 5.

well, at least they''re not the other way around...meaning, if the scripts
work but you want them php5-ified, then 5-ify them. otherwise, php5 will
more than likely run them without any mention of them being php < 5.


" Dave" < dm ******* @ woh.rr.com在留言中写道

news:47 ********************* *@roadrunner.com ...
"Dave" <dm*******@woh.rr.comwrote in message
news:47**********************@roadrunner.com...

你好,

不确定这是否与php有关,但我想要某些

用户有能力将文件上传到我的网站,而其他用户则需要下载文件。

我想过.htaccess和基本的身份验证,但后来我认为

'不是很安全我想知道是否有一个PHP解决方案,

分割用户上传和下载到的东西两个单独的

部分?我在phpbuilder.com上查看了一些脚本,但是他们似乎并不是在使用php5这是我正在使用的php5。
Hello,
Not sure if this is php related or not, but i''d like to have certain
users who have the ability to upload files to my site, and others to
download files.
I thought about .htaccess and basic authentication, but then i thought
that''s not very secure i was wondering if there was a php solution,
something that splits user uploads and downloads in to two separate
sections? I checked out some scripts on phpbuilder.com but they don''t seem
to work with php5 which is what i''m using.



以是否有办法......开头的问题的答案或我可以...

或是否存在......的解决方案。永远是是。

所以*你的*问题的答案是是。


我开始在这里咆哮 - 但是我我会把它留在那里。

只要知道,因为你的问题,你在我的血液上拥有两点

压力计 - 我想要他们回来。

The answer to questions that begin with "is there a way to..." or "can I..."
or "is there a solution that..." is always "yes".
So the answer to *your* question is "yes".

I started to rant here - but I''ll just leave it at that.
Just know that, because of your question, you own two points on my blood
pressure meter - and I want ''em back.




" Sanders Kaufman" < bu *** @ kaufman.netwrote in message

news:uC ************* @ newssvr22.news.prodigy.net ...

"Sanders Kaufman" <bu***@kaufman.netwrote in message
news:uC*************@newssvr22.news.prodigy.net...

" Dave" < dm ******* @ woh.rr.com在留言中写道

news:47 ********************* *@roadrunner.com ...
"Dave" <dm*******@woh.rr.comwrote in message
news:47**********************@roadrunner.com...

>你好,
不确定这是否与php相关,但我想要某些
用户能够将文件上传到我的网站,而其他人则可以下载文件。
我想过.htaccess和基本认证,但后来我想到了那个'我不是很安全,我想知道是否有一个PHP解决方案,
将用户上传和下载分成两个单独的部分?我在phpbuilder.com上查看了一些脚本,但是他们似乎没有使用php5,这就是我正在使用的。
>Hello,
Not sure if this is php related or not, but i''d like to have certain
users who have the ability to upload files to my site, and others to
download files.
I thought about .htaccess and basic authentication, but then i thought
that''s not very secure i was wondering if there was a php solution,
something that splits user uploads and downloads in to two separate
sections? I checked out some scripts on phpbuilder.com but they don''t
seem to work with php5 which is what i''m using.



以是否有办法......开头的问题的答案。或者可以

我...或有解决方案......永远是是。

所以*你的*问题的答案是是。


我开始在这里咆哮 - 但是我我会把它留在那里。

只要知道,因为你的问题,你在我的血液上拥有两点

压力计 - 我想要他们回来。


The answer to questions that begin with "is there a way to..." or "can
I..." or "is there a solution that..." is always "yes".
So the answer to *your* question is "yes".

I started to rant here - but I''ll just leave it at that.
Just know that, because of your question, you own two points on my blood
pressure meter - and I want ''em back.



lol

lol