Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Table security (a familiar problem)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Table security (a familiar problem)

    I am very interested in securing the protection of my data I sell with an application. I sell data with a front end run time search and query application in Alpha 5. I can encrpyt the data table files but even then, a determined user can get the underlying data and import into Alpha knowing the security code to unlock the original application I supply. There is only one level of password protection. I would like a hidden level of encrytion at the table level which is only accessed within the code of the runtime. IS this possible? I am not a programmer but a reasonable expert on Alpha 5. Can anyone simply explain how I can set up the procedure to unlock the application and usage of the underlying table without the user being able to access the tables or import the raw data tables? By the way, I chose Alpha 5 instead of Access because of the fantastic QBE functionality. Its a shame the security aspect is not clear. Please explain clearly in simple stages as what we have to do to overcome this critical issue.

    Thanks (any help here will be much welcome) . I have already been give some good ideas by the very helpful Jerry Brightbill of Brightbill Consulting.

    Howard
    www.keycontact.info

    #2
    RE: Table security (a familiar problem)

    Howard,

    I have sent you an email directly with more information about an addon I have to do just what you are requesting.

    Security is an interesting subject, but for anything to be reasonably secure, it can't be common knowledge. The encyption methods present in Alpha allow a number of different approaches, but all revolve around encrypting the tables with a unique key and then hiding the key somewhere where it can be automatically retrieved. You don't want a public key that has to be entered by the user, since they would now know the key and can decrypt the tables outside of the original application, which is what you are trying to prevent.

    Since the security of the key is the issue and not the encryption itself, the method to hide it is the "key" to making it secure.

    Jerry

    Comment


      #3
      RE: Table security (a familiar problem)

      Encrypting the tables via the security mechanism is pretty dang secure. Like any encryption scheme, if you know the key, you can get into it, but to reverse engineer that would be extremely difficult as we use our own encryption scheme internally...it's not just a password on the data.
      Aaron Brown
      Alpha Software Development Team

      Comment


        #4
        RE: Table security (a familiar problem)

        I can encrpyt the data table files but even then, a determined user can get the underlying data and import into Alpha knowing the security code to unlock the original application I supply.

        I am curious as to what you mean? Do you believe that Alpha's table level encryption is not secure? It seems like it is. Do you know of someone (yourself perhaps?) that has broken through A5's security? At least I have never heard of anyone doing that, not to mention Aaron's remarks above. On the other hand, I agree that password protected forms and buttons are not particularly secure, but encrypted tables are another matter.

        Peter
        Peter
        AlphaBase Solutions, LLC

        [email protected]
        https://www.alphabasesolutions.com


        Comment


          #5
          RE: Table security (a familiar problem)

          Aaron

          I don't think the issue here is the encyption method, which I agree seems very secure, but the security of the actual encryption key. You need the key to open the tables, so the security is only as good as the security of the value of encryption key. The problem is how to have the program set the encryption key without the end user having access to it. That means it must be available to the program, but can't be found by someone digging in the code or another developer who can open the program. Then the data can only be seen from within the actual database. Even a user who has access to the database can't just attach the data to another databse or open it in Excel for instance and use his database password to get at the data for other purposes. Or course, no one does that.

          Anyone who has done work with security knows that security is only as good as the safety of the key. The world's greatest lock is useless if you have the key to open it. Alpha 5 is a very open source type program and most code, even in an aex, is visible to some extent. And if one developer hid it, another can dig it out if they know the hiding method.

          Jerry

          Comment


            #6
            RE: Table security (a familiar problem)

            Of course, there is no way to let users see the data in a form and still keep them from seeing it! Or, from cutting and pasting it.

            However, assuming you are trying to keep others from doing things like getting into the control panel and running an export, I think the only thing you could do would be to create your own encryption and decryption method then protect the database with it's built-in password method and encrypt each field with your own encryption method as each one is saved/read - one heck of a lot of work and maybe not even possible. That way an export would only export your data as encrypted by your own method. Then you would need to hide the encrypt/decrypt routines within each script or function that uses them and leave all your scripts/functions in the Code tab of the app with password protection. As far as I know, nobody has cracked the password protection on global scripts.

            Personally, I don't think all this would be worth the effort. Instead, I'd try to keep users out of the 'guts' of the application so they couldn't export anything unless I gave them a button to do it from.

            I suppose you could just not give them the administrator password. Instead, create a user that has full privileges except the ability to change the admin password. (Only "administrator" can change the admin password.) This should be pretty effective at restricting them to only those things you've specifically set up in the app.

            Even if they tried to open the table from another app, it wouldn't do any good because they wouldn't know the admin password.

            Comment


              #7
              RE: Table security (a familiar problem)

              Someone wrote me that you cannot add users and groups without the admin password.

              So, for anyone who thinks this is a problem, try the A5_user_groups_dialog() command. Or, do as I did and create your own if you want to limit the possibilities. In my case, I wanted them to be able to add new users and select groups but not add or delete groups.

              Comment


                #8
                RE: Table security (a familiar problem)

                Ok, How about this. I have set-up the user login screens. I have multiple people using my data and need to lock the customer's records i store to a specific user.
                IE
                i have users named Tom, Kathy and John. Tom has 3 Customers that are totally his and doesn't want Kathy or John to see/change his 3 customers data. Is there a way to password lock the customers say by referancing the login file.

                But by the same token there are 5 Cusatomers they all need to have access to. I'd like to be able to have Tom log in 1 time and have alpha know which customers Toms able to see/edit.

                Comment


                  #9
                  RE: Table security (a familiar problem)

                  Sure. I assume that you gave unique user ids. Add a field to your customer table: "User_ID". Assign the correct user_id to each customer. You could have one "user_id" called "all" or "00000", whatever. Then run a query when the form opens. When the user logs on, assign a global variable to his/her user_id. Set the form query property to: user_id=vUser_ID.OR.user_id="all".

                  Or something similar.
                  Peter
                  AlphaBase Solutions, LLC

                  [email protected]
                  https://www.alphabasesolutions.com


                  Comment

                  Working...
                  X