Is there a security issue about uploading CSS files or is it something that have never been though of before. I have to zip them down to upload them....weird...
Printable View
Is there a security issue about uploading CSS files or is it something that have never been though of before. I have to zip them down to upload them....weird...
Think its pretty hard for the php file to instruct the browser to download it instead of just displaying it though.
Shown in this post ;).
Hehe...ok...that might be...:D
Even if they did allow css though the browser would try and open it. Like when .jpg files are uploaded, when you click the link it doesn't ask you if you want to save it it just displays it. :(
Thats why I asked....if they had omitted it because of a saftety risk, or what...Quote:
Originally posted by Spetnik
In the vBulletin CP, the admins must specify which filetypes to allow. Any other files will be blocked :).
You could always right clivk it...can't you?Quote:
Originally posted by Electroman
Even if they did allow css though the browser would try and open it. Like when .jpg files are uploaded, when you click the link it doesn't ask you if you want to save it it just displays it. :(
Doh!, good point, yeah I believe its Right click and "Save Target As...". Oh well.
Mind I don't see the problem with zipping everything up anyway. Unless I want it to be viewed where it is I'll zip it up, saves space ;).
And BTW if your browser opens it up like FireFox does. It opens it up like a text file inNotpad, so then it is only copy/paste anyway.
But I can see your point with ZIP files, but if that is the reason, then only zip files should be allowed.
And Images ;).Quote:
Posted by NoteMe
But I can see your point with ZIP files, but if that is the reason, then only zip files should be allowed.
I see some people upload their forms and I don't see the point, it would make much more sense to zip the whole project and send that. If some one uploads just one file from a project you need to faf around making a project and 9 times out of ten there'll be a .frx file missing :(.
:D
Yeah in a VB app or somethin it would make senseto zip it down, but if you have problems with Quicksort or something in C++, you only need to uplaod the .cpp file. No need to send the whole poject. At least not always. And the same goes for CSS, HTML. Sometimes you need both the files, but not always...
In this forum software, you specify which file types can be uploaded. css is a type that hasn't be specified; however, it is a type that can be zipped.
For the most part, files can be zipped, otherwise, we'd have people asking for new types to be allowed every day. The most comment types related to this forum are allowed to be uploaded -- such as txt, zip, bas, frm, cpp, asp, and rar. Others need to be stuck into a zip or rar file.
Brad!
OK...thanks for the answer.