Buscar

Acrobat JavaScript quick keyAll

Faça como milhares de estudantes: teste grátis o Passei Direto

Esse e outros conteúdos desbloqueados

16 milhões de materiais de várias disciplinas

Impressão de materiais

Agora você pode testar o

Passei Direto grátis

Você também pode ser Premium ajudando estudantes

Prévia do material em texto

Yes
JS enabled?
bEnableJS
NoBlacklisted?
JAVASCRIPT EXECUTION QUICK KEY
JavaScript in 
Document
tBlackList: When a 
blacklisted API is found, 
block all document APIs. 
There are two blacklists in 
HKLM accessible to admins.
Doc 
trusted for BL
API?
High 
privilege
JS?
Doc
trusted for HP
JS?
Certificate
Trust?
Yes
The Options button does not appear if user-specified privileged locations 
is disabled via bDisableTrustedFolders or bDisableTrustedSites.
cUnsafeJavaScript: 
Blacklisted APIs are allowed 
for trusted docs here, and no 
APIs are blocked.
cJavaScript: High Privileged 
APIs are allowed for trusted 
docs here. High Privileged JS 
is defined by the Acrobat JS 
Reference which identifies all 
HP APIs.
For certified documents where 
the signing certificate is trusted 
for (or chains to anchor trusted 
for) high privileged JavaScript. 
The signature must be valid.
API is blacklisted, not 
HP, and not trusted.
Choosing Always writes to cAlwaysTrustedForJavaScript; 
JS executes even if bEnableJS is off.
No
No
High 
privilege
JS?
Yes
Yes
Previously
trusted? No
CONSOLE
ERROR
Certificate
Trust?Yes
JS 
OK
No
NoNo
No
YesNo
Yes
JS 
OK
JS 
OK
A JavaScript this document uses
is disabled for security reasons.
Blacklist workflow
High privilege JS workflow
JS disabled workflow
JavaScript 
injection?
Privileged 
location?
No
Yes
Yes
Choosing Add makes the host a privileged location in 
cTrustedSites. Proceed to check for JS in document.
No
JS injection workflow
There are 3 restriction checks:
* Is JS enabled for the application? 
* Is the API blacklisted? 
* Is the API “high privileged”?
There are 3 ways trust can be assigned:
* Enabling JS and not restricting any API. 
* Trusting specific documents by ID.
* Via certificates used for certified docs.
Restrictions Permissions
	JSK_three�

Outros materiais