Results 1 to 12 of 12

Thread: Uploading CSS files?

  1. #1

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Uploading CSS files?

    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...

  2. #2
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    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 .
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  3. #3

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Hehe...ok...that might be...

  4. #4
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    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.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  5. #5

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Originally posted by Spetnik
    In the vBulletin CP, the admins must specify which filetypes to allow. Any other files will be blocked .
    Thats why I asked....if they had omitted it because of a saftety risk, or what...

  6. #6

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    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.
    You could always right clivk it...can't you?

  7. #7
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    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 .
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  8. #8

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    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.

  9. #9
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    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.
    And Images .

    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 .

    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

  10. #10

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    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...

  11. #11
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614
    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!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  12. #12

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    OK...thanks for the answer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width