|
Protection against big pictures within [img] tags?
|
Post Bank
Posting Manager
     
Posts: 995
Group: Forum Team
Joined: Sep 2006
Status: Online
|
Make money from now. You can make money just for posting on this forum. Every discussions on this community gives you more money. $2 minimum payout. So get your payment today, SignIn with this forum.
Signin to Remove this Post
|
|
|
|
Cedik
Moderator
    
Posts: 424
Group: Moderators
Joined: Aug 2007
Status:
Away
Reputation: 2
Points: 575 (Donate)
|
Protection against big pictures within [img] tags?
Is there anything that can actually protect you from having your forum loading really hard because of a big picture placed between a img tag?
I once placed 10 img tags with a picture that had a resoultion of 5000x7000 and you can imagine that the thread loaded extremely hard.
You can actually "kill" a forum if you post something like 30 huge img tags at every thread. 
So, how can I protect myself against something like that?
MyBB.ro|Extra.animezup.com|Picture with me ^^|Animezup.com|Forum.animezup.com|Manga-anime.ro|My blog^^
|
|
| 24-10-2007 08:30 PM |
|
|
godkillah
Senior Member
   
Posts: 261
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 3
Points: 183 (Donate)
|
RE: Protection against big pictures within [img] tags?
if there isn't a standard feature to prevent this you could add a script to resize them? like a maximum size
|
|
| 24-10-2007 09:41 PM |
|
|
Cedik
Moderator
    
Posts: 424
Group: Moderators
Joined: Aug 2007
Status:
Away
Reputation: 2
Points: 575 (Donate)
|
|
| 24-10-2007 11:08 PM |
|
|
godkillah
Senior Member
   
Posts: 261
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 3
Points: 183 (Donate)
|
RE: Protection against big pictures within [img] tags?
hmm, you could use php to check for the filesize when the image is submitted and if its to big replace it with a message its to big or something?
|
|
| 25-10-2007 02:31 AM |
|
|
ivenms
Administrator
      
Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status:
Offline
Reputation: 14
Points: 4389 (Donate)
|
RE: Protection against big pictures within [img] tags?
Is there anything that can actually protect you from having your forum loading really hard because of a big picture placed between a img tag?
I once placed 10 img tags with a picture that had a resoultion of 5000x7000 and you can imagine that the thread loaded extremely hard.
You can actually "kill" a forum if you post something like 30 huge img tags at every thread. 
So, how can I protect myself against something like that?
[img] code uses the simple <img> tags on the page. Normally the source is pointed to foreign sites. So I don't think that there is an effective solution for this problem. They best way to avoid this is to monitor your forum continuously and edit those posts which embed with large images.
Check the CSS advanced tutorials. May be some properties on CSS can help you, don't have any idea about that...
hmm, you could use php to check for the filesize when the image is submitted and if its to big replace it with a message its to big or something?
That could be applied only when images are uploaded.
Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
|
|
| 25-10-2007 05:04 AM |
|
|
Cedik
Moderator
    
Posts: 424
Group: Moderators
Joined: Aug 2007
Status:
Away
Reputation: 2
Points: 575 (Donate)
|
RE: Protection against big pictures within [img] tags?
That's bad news for me I guess...
Oh well, at least do you know how I can easily delete those posts? Because I'm not tempted in waiting forever for that page to load so I can delete them 
By the way... I know someone that actually "killed" a 40.000 members forum by posting something similar at every thread. Do you know what he used?
Huuuuuuuuuuuuuuuuuuge multiquotes.
Something like
multiplied like a couple of hundreds 
But against something like that I can protect myself easily because there are mods that prevent that ^^
MyBB.ro|Extra.animezup.com|Picture with me ^^|Animezup.com|Forum.animezup.com|Manga-anime.ro|My blog^^
|
|
| 26-10-2007 06:46 AM |
|
|
ivenms
Administrator
      
Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status:
Offline
Reputation: 14
Points: 4389 (Donate)
|
RE: Protection against big pictures within [img] tags?
By the way... I know someone that actually "killed" a 40.000 members forum by posting something similar at every thread. Do you know what he used?
Huuuuuuuuuuuuuuuuuuge multiquotes.
Something like
multiplied like a couple of hundreds 
Why the forum team keep him to do that???
He should immediately banned from the forum.
Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
|
|
| 27-10-2007 04:34 AM |
|
|
Cedik
Moderator
    
Posts: 424
Group: Moderators
Joined: Aug 2007
Status:
Away
Reputation: 2
Points: 575 (Donate)
|
|
| 28-10-2007 06:44 AM |
|
|
Dhanraj
Senior Member
   
Posts: 272
Group: Registered
Joined: Aug 2007
Status:
Offline
Reputation: 1
Points: 99 (Donate)
|
RE: Protection against big pictures within [img] tags?
Is there anything that can actually protect you from having your forum loading really hard because of a big picture placed between a img tag?
I once placed 10 img tags with a picture that had a resoultion of 5000x7000 and you can imagine that the thread loaded extremely hard.
You can actually "kill" a forum if you post something like 30 huge img tags at every thread. 
So, how can I protect myself against something like that
bro its easy jes do [img size=150(or any)] image url then close tag
Free cash for surveys
Our Great indian forum
Pretty good PTC-Real
Anonymize your links
|
|
| 05-11-2007 06:06 PM |
|
|
ivenms
Administrator
      
Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status:
Offline
Reputation: 14
Points: 4389 (Donate)
|
|
| 05-11-2007 08:47 PM |
|
|
Cedik
Moderator
    
Posts: 424
Group: Moderators
Joined: Aug 2007
Status:
Away
Reputation: 2
Points: 575 (Donate)
|
RE: Protection against big pictures within [img] tags?
Uhm... you know... if you were a criminal mastermind as I was, you wouldn't use such measures.
As I said, I was talking about someone who would deliberately do such a thing in order to destroy a forum. Do you think he would use image tag codes?
[edit]Ivenms, if I would theoretically want to destroy this forum, I would post a ten image tag codes with images that have 25 mega each at every thread. It's not such a hard job. There are no hacking skills required. Only copy-pasting. What would you do then in order to fix it?
How could it be solved?
MyBB.ro|Extra.animezup.com|Picture with me ^^|Animezup.com|Forum.animezup.com|Manga-anime.ro|My blog^^
This post was last modified: 05-11-2007 08:57 PM by Cedik.
|
|
| 05-11-2007 08:54 PM |
|
|
ivenms
Administrator
      
Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status:
Offline
Reputation: 14
Points: 4389 (Donate)
|
RE: Protection against big pictures within [img] tags?
Ivenms, if I would theoretically want to destroy this forum, I would post a ten image tag codes with images that have 25 mega each at every thread. It's not such a hard job. There are no hacking skills required. Only copy-pasting. What would you do then in order to fix it?
How could it be solved?
IF some one going to do that on this forum.. I simply ban the member first and then delete every posts he made...
By this way I can save my forum..
Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
|
|
| 05-11-2007 09:18 PM |
|
|
Cedik
Moderator
    
Posts: 424
Group: Moderators
Joined: Aug 2007
Status:
Away
Reputation: 2
Points: 575 (Donate)
|
|
| 06-11-2007 04:15 AM |
|
|
ivenms
Administrator
      
Posts: 2,177
Group: Administrators
Joined: Sep 2006
Status:
Offline
Reputation: 14
Points: 4389 (Donate)
|
RE: Protection against big pictures within [img] tags?
Oh... I forgot about that :|
Because when I usually delete a user I keep his posts intact on the forum, I forgot that you simply can delete an user with all his posts! Haha! How silly of me 
That's a great idea 
It is simple and common idea. May be you can look for some mods to restrict this problem. But I think this problem is not that much important for the security matters. The main problem with the forums are its logging power. Many bots are there which are capable of logging on restricted pages and posts spams automatically. You can deal with a real person, but you can't deal with bots, because they are capable of posting millions of posts per day, which usually crash the entire forum. So be careful with the forum and always upgrade to the latest version.
Read: General Rules & Policies before posting.
Make Money By Posting | Earning and Exchanging Points | Add Your Links
|
|
| 06-11-2007 04:36 AM |
|
|