Skip to content

Security setting #1771

@edemaine

Description

@edemaine

We have several features/features in waiting that should probably only be used when the LaTeX code is from a trusted source:

I think we need some kind of security or trust option (like we did with strict) before these should be released. The simplest thing would be to have a Boolean trusted flag that turns on all of these features. Might we want more granularity? Maybe trusted: ['images', 'class'] turns on images + class but not ID and HTML?

Links and embedded images are quite different, so our existing URL restrictions don't suffice. On the other hand, we might want to replace our URL restrictions with this security/trust mechanism...? For example, we might want to allow images from http: but not file:, like we can do for links.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions