Disallow unicode characters
Is there a setting that enables only ASCII characters? I don't want to allow any unicode characters in my file name.
-
Hello, Alex.
Could you elaborate on this? What is your use case for disallowing Unicode characters?
0 -
Our security team asked if it was possible to enforce ASCII characters to prevent any security concerns. I'm not a security expert and not knowledgeable on the security exploits of unicode to give any specific use case.
0 -
Unfortunately, there isn't a way for an FTP server to force what characters should be used in your file name.
You could issue the command:
OPTS UTF8 OFF after authenticating to the FTP server. This will turn off UTF8 support, and cause Cerberus to fall back to using the default character set on your machine.
Using the OPTS UTF8 OFF will instruct the server to interpret the control connection channel text as whatever the default ASCII code page is on your machine. Any files with Unicode will still upload but the Unicode characters will not decode properly. That's likely not what you are for but I did want to provide that information to you as well.
0
Please sign in to leave a comment.
Comments
3 comments