Git Product home page Git Product logo

Comments (5)

arubdesu avatar arubdesu commented on April 28, 2024

Currently the only way to achieve what you're asking is a BlacklistRegex. https://github.com/google/santa/wiki/Configuration#whitelistregexblacklistregex
Note that there can only be one entry, so that could get really long, and the end user could just move the app to another un-blacklisted-path to run it. I'm not sure but I'd be concerned about webkit breaking if you blacklisted safari…

from santa.

GameEnder avatar GameEnder commented on April 28, 2024

I was looking at BlacklistRegex in the wiki, but from my understanding it is for blacklisting specific folders from running programs not files. So i could block "/Applications" but not "/Applications/Safari.app"

I am attempting to block Safari to prevent our teachers and kids at our school from using Safari instead of Chrome, as Safari has compatibility problems with some google apps and a lot of testing software. From what I tested all other webkit apps such as the Appstore ran fine if I blocked Safari using Santa.

from santa.

arubdesu avatar arubdesu commented on April 28, 2024

Bundle apps like Safari are folders... I don't have great regex resources off the top of my head, but you can use it to do what you're trying to accomplish.

from santa.

arubdesu avatar arubdesu commented on April 28, 2024

Do you still require assistance with this issue? The intended use of Santa may fall outside of your needs, but if you're controlling the patches applied to machines you should be able to maintain a blacklist of hashes. Safari updates with the OS, and that only is every two months or so if historical data is any indication.

from santa.

GameEnder avatar GameEnder commented on April 28, 2024

I guess not. I ended up creating a script to periodically remove and reapply the Line for Safari aver few weeks to work around the problem.

from santa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.