I realized something, not sure if it's by design.
If I have a password protected RAR with encrypted names, and then try to use a Filter
object with a value that request some form of metadata, a password prompt will appear. Is that expected? Can it be avoided?
To reproduce, you need:
- Create a Column that Requests Metadata: You can use this Evaluator column:
return (IsSet(latitude) && IsSet(longitude)) ? "yes" : "no";
as XML
<?xml version="1.0"?>
<evalcolumn align="0" attrrefresh="no" autorefresh="no" customgrouping="no" foldertype="shell" header="Localizable" keyword="islocalizable" maxstars="5" namerefresh="no" reversesort="no" title="Localizable" type="0">return (IsSet(latitude) && IsSet(longitude)) ? "yes" : "no";</evalcolumn>
-
A script in a button, to use with the target file :
RAR and filter.dcf (974 Bytes) -
A password protected archive with encrypted names. Here's a ready to use RAR sample (password is 12345).
rar_encrypted.rar (958 Bytes)
To reproduce :
- Install the column.
- Select a file and run the script.
- For the sample file, a prompt should appear.
Note : If you actually enter the password, the prompt no longer appears when using the same file again.