I want to block upload of all files containing JavaScript code to document
libraries. Two questions:
1. Is it possible to block it by adding "<script" keyword in Forefront
Keyword filter without breaking something (uploading / modifying
masterpages, templates, webparts etc.)?
2. Is it possible to apply Keyword filter to chosen group of file types (eg.
*.html, *.jpg, *.gif etc)?
Thanks.
Regards,
Aleks
1. Upgrade to Internet Explorer 8. Internet Explorer 7 and older are
affected and nobody at Microsoft could assure me that there are going to be
patches available for. Other browsers are not affected.
2. Write an EventHandler on a Document Library, to prevent uploading bitmap
files that contains script code. It is important to check first 256 bytes of
a bitmap file - if it contains html tags, just reject it! The function that
causes this problem (Client side): FindMimeFromData()
http://msdn.microsoft.com/en-us/library/ms775107(VS.85).aspx
Regards,
Aleks
"Aleksandar Draskovic" <adras...@exchange2007.org> wrote in message
news:2C71C23B-463F-407D...@microsoft.com...