You might want to think again about allowing executable files to be uploaded. If the user zips the file and uploads the zip file, your site will be a lot more secure and you won’t have to change anything.
If you really want to let users upload .exe files, I think you can go to Resources | Manage Resources | plugins | FCKEditor | Configuration and add that type. I’m not sure because I don’t have FCKEditor.
That’s strange...
I don’t have FCKEditor configuration under "Plugins"... I just have TinyMCE. I’m using MODx 0.9.6.3.
I need to upload .exe files because I am the only user at my website and I need to distribute my software.
-
☆ A M B ☆
- 24,524 Posts
That’s because the resource browser, MCPuk, was originally intended to be integrated with the FCKEditor. It works just fine in TinyMCE, as well as in the image and file input type TVs or anywhere else it’s used.
I’ll repeat and emphasize ... allowing .exe (or any executable files, such as .php) filetypes to be uploaded is a Really Bad Idea.
To whom are you distributing your software? Certainly not to me! Anybody who downloads auto-executable files is an idiot. And getting offended over that statement would be like getting offended if a child refuses to come to your car to look at your puppies. Sure, most people aren’t child molesters and I’m sure you’re not, but we still teach our children not to do things like that. Likewise while I’m sure you’re not an Evil Hacker trying to sucker me into installing a keylogging trojan, I just don’t download anything that’s going to install or unzip itself.
-
☆ A M B ☆
- 24,524 Posts
There’s an individual file types field in the User tab of your manager user. It’s probably either blank, or the Use System Defaults box is checked. Clearing the checkbox and putting the file types (no dot, just exe,pdf,txt etc) you want your user to be able to upload should do the trick.
For the system default, I don’t find where this setting (for files) is in the Configuration, but it is in the database; you could just add exe to the list of file types in the database system_settings table.