User Tag List

Results 1 to 4 of 4

Thread: Is it wise to use the Registry for screensavers?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it wise to use the Registry for screensavers?

    Hey, folks!

    I am nearing completion of a corporate screensaver, and presently I use a Named Variable object to keep track of screensaver settings and preferences. When the screensaver exits, the Named Variable object writes its content to an INI file, which is then read when the screensaver is next launched.

    While this arrangement functions well, I have been entertaining the idea of using the Registry object to read and write screensaver preferences. I am entertaining this because it seems to take the Named Variable object several seconds to write its INI file when the screensaver exits, and I thought using the Registry would be a cleaner and faster way of keeping track of settings.

    However, I am wondering about the wisdom of accessing the Registry for a screensaver, for a couple of reasons:

    1.) While I wouldn't have a problem using the Registry for an application, I wonder if people have greater distrust issues of a screensaver accessing their Registry--especially since this is a corporate screensaver for corporate environments?

    2.) Would I have restrictions in being able to write to the Registry? Would it be better to write to the "Local User" or "Local Machine" root?

    3.) Would corporate security applications such as Microsoft Sentry notice writing to the Registry and notify the user of this--thereby enhancing distrust of Registry access by a screensaver?


    Since there are lots of people who design screensavers here, I was curious on your thoughts about this.

    Thank you for your feedback (as always)!



    Most appreciatively...

    RGBreality

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    koobare's Avatar
    Join Date
    Jun 2006
    Location
    Poland
    Posts
    393
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it wise to use the Registry for screensavers?

    Hi RGB!

    All I can say is that I generally prefer to keep my registry clear of any applications that don't really need to access it. I distrust widgets, screensavers or other apps that try to introduce any changes to my system, be it Windows or Android. Even if the change is minimal, I feel that bloating the registry with unnecessary software can weigh my system down and produce lags on startup that I really don't appreciate.

    The same goes for my internet connection - I block everything that I don't really need accessing the web. Call me a guy with trust issues, but I generally like to think that if a piece of software doesn't need to do something, it shouldn't, unless I (the user) really need it do that.

    And yes, many system-protecting apps will try to block your screensaver from accessing the registry, that's the way I set up my "software shield".

    Cheers!

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it wise to use the Registry for screensavers?

    There should be no trouble for applications/screensavers/games/whatever reading/writing to/from HKEY_Current_User/Software/Name, after all that's what it's there for.

    EDIT: HKEY_LOCAL_MACHINE can only be written to by administrators, so is not a good choice for anything really.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it wise to use the Registry for screensaver

    Dynasoft is right here, but I think you should use the File object to retrieve the path to the user account's application data folder and store your settings there.

    The main reason is that the registry object is more commonly used in malware. You'll get more people reporting false positives, just like with any other MMF2 system object (and it is a pain, every once in a while I get really offensive mails from people who thinks I'm spreading viruses, many won't consider apoligizing when I point out it's a false positive).

    Second, even though there are those who disagree, a lot of people think of the registry as something that went wrong with Windows and is a growing cancer feeded by the intalled software, and a pain to clean up. Even if there's a standard place where things should go in the registry, I know software don't tend to stick to that single place, so I specifically look for software that doesn't touch it.

    So... the user's application data folder (not to be confused with the application folder) gets my vote!

Similar Threads

  1. Pro Video object and screensavers
    By martinderren in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th August 2013, 05:32 PM
  2. Shaders and Screensavers
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 19th November 2012, 10:53 PM
  3. it would be wise to protect the forums >_>
    By in forum Extension Developers Lobby
    Replies: 19
    Last Post: 17th June 2007, 08:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •