Our community blogs
With the advent of a new Fiscal Year for the FileMaker Developer Community, we will experience five emerging trends in FileMaker Information Security. Each of these will likely have specific impact on developers, on our clients, on the Platform, and on the larger business environment in which we operate. Cumulatively and symbiotically, the magnified impact of the five will have the potential to alter many long-standing practices and conventions.
What are these five trends? How will they impact the developer community? Read more and download article here:
Steven H. Blackwell
I’ve been working on a couple large JSON projects over the last few months, and with the one year anniversary of FileMaker having built-in JSON capabilities just around the corner, this seems an opportune moment to share some reflections and opinions (some of which may contradict JSON-related opinions I have expressed previously). Demo file: json-sandbox.zip […]
- Read more...
- 0 comments
FileMaker 16 changed the entire landscape of how many things are accomplished within FileMaker. Because of the ability to show a completely different context as a new Card Window, you can now do all kinds of wonderful things.
Need an interactive sidebar? Use a Card Window. Need greater degree of control over your custom dialog boxes? Use Card Windows. Need to present a pick list, a palette or pretty much any information you could ever want to display in a dedicated child window? Used Card Windows!
Awesome, so we now have Card Windows. But, the immediate utility may not seem as powerful as it could be when the Card Window defaults to the same size as the layout upon which it's based. Plus, if you want to position the window relative to its parent you need to be ready to do a bit of simple math. So, why do the simple math when you can make it even more simple? That's what this video is all about - Ultimate Card Window Control!
Click the title or link to this article to view the video.
- Read more...
- 0 comments
GoDraw3 is the FileMaker Drawing Tool. It provides a lot of functionality for users, and gives great flexibility for FileMaker developers. Take a look and see how to Draw in FileMaker.
- Read more...
- 0 comments
Electronic data interchange (EDI) is used by businesses to electronically exchange standard business documents. EDI standards can speed up business by simplifying communication between two companies. Check out how FileMaker can help your business by Integrating with EDI!
- Read more...
- 0 comments
I've mentioned FLF (Find-List-Form) in several other articles on this web site but I think it's so important that I wanted to devote an entire article to the subject. So many developers have moved so far away from the roots of FileMaker that they almost don't even know what they are. Then they teach other budding FileMaker developers wacky workarounds for something that is so easy to accomplish with basic FileMaker tools, and these impressionable minds think it's always the right approach. Yes, sometimes we need a good workaround but most of the time we just need good FileMaker fundamentals.
- Read more...
- 0 comments
What does it mean in the Set Field script step when it says “This calculation will be evaluated based on context determined at runtime.”? What is “context”, anyway? It turns out that there are different types of “context” that are relevant to FileMaker development. What do layouts have to do with the relationship graph? What do indexes have to do with relationships? How do the various types of relationships work?What’s the difference between defining a sort in the relationship graph and defining it in a portal? In this presentation Doug Gardner will discuss the answers to all these questions and talk about how to create a relational structure that scales to any size without becoming more difficult to read or use. Enjoy successful relationships without counseling.
The post Atlanta FileMaker Developers Group 4/4/18 – Relationship Rescue appeared first on Blue Feather - FileMaker Developer, Android, Web.
- Read more...
- 0 comments
Parce que nous aimons les données. Parce que la science moderne repose sur les données. Parce que nous avons besoin de la science comme la science a besoin de nous… et parce qu’on aime aussi bien rigoler… 1-more-thing sponsorise les 10km de l’ULB (Université Libre de Bruxelles), au profit de la recherche scientifique. Pour le […]
- Read more...
- 0 comments
Part 4: Making the Plan for Planning Your Plan of the Project Plan – What Do We Need to Get This Software Development Party Started!
You’ve decided that custom app development is for you. You’ve vetted software firms, sorted out your contract and hired a developer. You’re ready to start creating the ideal solution for your business. Now what?
As you start a custom software development project, it is important to gather as much of the necessary information up front as you can to be certain that you account for everything you know. Then you can better define the details of your business requirements and workflow for the developer.
Define the Project
Important elements of any software development project need to be clearly defined. Where are you starting and where do you want to end up? It helps to know what you are using now, but it’s equally important to understand how it falls short of your needs. Are you updating an eXisting solution or do you want to replace it? Will it, could it, should it integrate with other systems you use? What business processes do you wish you could tie together?
Anything you do on paper or in spreadsheets is a candidate for being built into a software solution. Anything you wish you could automate could be included. Bring all of these parts into the conversation with your developer because the developer can determine what can be automated and integrated. Don’t presuppose that something can’t be done because more than likely, there is a way. After discussing all of the possibilities you get to decide what features will give you the most bang for your buck based on your budget and time.
The following questions can help you define the project:
Which Technology Is Right for You?
Many people come into a development project with a preconceived idea about what should be used to create their application. That might come from a recommendation from a friend or another business owner, or it might come from research or personal eXperience. It’s helpful to eXplore the range of options enough to get an idea of what is available to help facilitate conversations with your developer, but ultimately your developer is a technology eXpert and should be able to make recommendations about the best development methods, programming languages and tools for your needs.
That said, there are a couple of considerations for determining the right technology. The first is what you are currently using. The second is what is most appropriate for your needs. If these are the same, that simplifies the process. The new solution can be created in the technology you currently use. This is common — and more often than not, the best-case scenario — but it isn’t always the best answer to take your business to the next level. To figure that out takes some input from both you and your developer.
Remember, you are the content eXpert and the developer is the technology eXpert. You should feel comfortable relying on your developer’s eXpertise to make technology recommendations based on the scope of your needs. Don’t be married to something that isn’t the right fit. You may regret it later. This is where conversations with multiple development firms can help so you can be confident you have made a good decision in the end to get the right type of solution built by the right company.
Even if the developer is familiar with your industry that doesn’t mean the developer is familiar with your particular business model. You will need to eXplain it in detail, maybe multiple times, before they understand it well enough to translate it into a software solution. Whatever concrete elements you can provide will help draw the picture of what you are trying to do. Old reports, data input forms, spreadsheets, diagrams, needs analysis and a list of requirements all help the developer understand what you are trying to achieve. The earlier those things can be gathered, the better the planning process will be. However, don’t eXpect that those resources can stand alone without any eXplanation of how they fit into your workflow. The developer will not know the nuance of how they are used in your business. You will need to eXplain that.
Working through the resources with your developer will help you be more clear in your eXplanations about how things should work and will bring into focus the overall scope of the project. As you begin to eXplain how each element fits into your workflow, you may recognize inefficiencies that you want to change during the course of development. Being patient with this part of the process will improve the final solution and likely your business processes overall.
Everyone wants it yesterday because it’s a huge issue today. But what is a realistic eXpectation based on the size of the project and its complexity? Your developer can help you work out a timeline once the project has been well-defined. Development always takes longer than eXpected, so build in a time cushion if there is a rigid deadline for getting your app deployed.
Once all of the information has been gathered and a realistic timeline has been set, it is time to put the project in the hands of those who will be responsible for making it a success. In the next installment, we will define the necessary roles to complete your project efficiently.
Coming soon, Part 5 —Rassling with the R’s — Roles and Responsibilities
If you missed the previous installments, find them here:
Part 1: Embracing the Development Mind-Set
Part 2: What Should You Consider When Selecting a Development Partner? What Questions Might You Ask a Potential Developer?
Part 3: Quotes, Estimates and Change Orders, Oh My! — Understanding Pricing & Billing Models
The post Survival Guide: Find, Hire and Work with a Software Developer, Successfully! (Part 4 of 7) appeared first on eXcelisys.
- Read more...
- 0 comments
Recent EntriesLatest Entry
FileMaker Inc. Commercial - Farm Time
Watch the FileMaker Farm Time Commercial here: www.beetlord.com
The Farm Time commercial, logo, creative and physical content are all owned by FileMaker Incorporated. All rights belong to their respective owners.
To learn more about the FileMaker platform:
Most Recent Upload https://goo.gl/Dbn9fm
Get up to speed with the FileMaker Pro 16 Video Training Course!
Top Rated Course by FileMaker Expert, Richard Carlton.
Experience Richard's dynamic and exciting teaching format, while learning both basic, intermediate, and advanced FileMaker development skills. With 26 years of FileMaker experience and a long time speaker at FileMaker's Developer Conference, Richard will teach you all the ins and outs of building FileMaker Solutions.
The course is 50 hours of video content!
Richard has been involved with the FileMaker platform since 1990 and has grown RCC into one of the largest top tier FileMaker consultancies worldwide.
Richard works closely with RCC's staff: a team of 28 FileMaker developers and supporting web designers.
He has offices in California, Nevada, and Texas.
Richard has been a frequent speaker at the FileMaker Developers Conference on a variety of topics involving FileMaker for Startups and Entrepreneurs, and client-server integration.
Richard is the Product Manager for FM Starting Point, the popular and most downloaded free FileMaker CRM Starter Solution.
Looking for FM Starting Point free software download: http://www.fmstartingpoint.com
Richard won 2015 Excellence Award from FileMaker Inc (Apple Inc) for outstanding video and product creation, leading to business development.
RCC, Filemaker Videos, and LearningFileMaker.com are headquartered in Santa Clara, CA.
Please feel free to contact us at firstname.lastname@example.org
FileMaker Pro is simply a powerful software used to create custom apps that work seamlessly across iPad, iPhone, Windows, Mac, and the web
Transform your business with the FileMaker Platform
Free FileMaker Training Videos Channel https://www.youtube.com/user/FileMakerVideos
50 Hour FileMaker Pro 16 Video Training Course-FileMaker 16 News-Online FileMaker 16 Training Videos
Top 10 New Features in FileMaker 16-FileMaker 16 News-FileMaker 16 Instructional Videos-FileMaker 16
Sharing your Database with Other Devices and Users-FileMaker 16 News-FileMaker 16 Database Sharing
Introduction to FileMaker WebDirect 16-FileMaker 16 News-Online FileMaker 16 Training Videos
A database management system (DBMS) is a computer software application that interacts with the user, other applications, and the database itself to capture and analyze data
Official site provides the SDK, Developer's Guide, Reference, and Android Market for the open source project
Free FileMaker videos check out ...http://www.filemakervideos.com
Download the FileMaker Pro 16 & FileMaker GO 16 for mobile devices training videos at http://www.learningfilemaker.com
Download FileMaker Go 16 video training at http://learningfilemaker.com/FMGO-16/fmgo16.php
Download FileMaker 16 Full Video Training Bundle at http://learningfilemaker.com/subscription.php
FileMaker Video Training Review-FileMaker 16 Video Course Review-FileMaker Pro 16 101 Course Review
Use FileMaker to create an app with the FileMaker Training Series
FileMaker Pro is a cross-platform relational database application from FileMaker Inc.
Comment, Like & Share Our Videos.
Feel Free to Embed any of Our Videos on Your Blog or Website.
- Read more...
- 0 comments
Please join Skeleton Key's FileMaker STL meetup, January 23, 2018, 6pm (CT). Colleague, Jeremy Upton, will present: "Alexa, ask FileMaker...". SK is Skeleton Key. SK is host to FileMaker STL Hey Siri. Hey Google. Hey Alexa...the holiday season was explosive with its ads for voice command devices. Wouldn't it be cool if you could say something like "Hey Alexa, ask FileMaker how many contacts live in the state of Texas?", and have the results of your FileMaker database said back to you? We think so too! And that's why we are excited to have Skeleton Key's very own Jeremy Upton lead the meetup topic this month.
- Read more...
- 0 comments
In this article we introduce a technique to implement native swipe gestures in all directions for FileMaker Go that can be used to trigger a script upon these gestures. The focus here is implementing a swipe-down gesture to dismiss a drawer menu that slides up from the bottom of screen
- Read more...
- 0 comments
With the holidays right around the corner, Devon 2017 feels like a long time ago. If you are missing that exciting buzz experienced at DevCon, we invite you to take a listen to FileMaker Talk’s podcast from DevCon – “ Live at DevCon in Phoenix 2017” .
You need to open it up in iTunes, but it will certainly transport you right back to Phoenix (lazy river and 99-degree weather not included).
The podcast starts out with Matt Navarre interviewing Jesse Barnum from 360Works. Jesse talks until about minute 11:40 and discusses their MirrorSync product, including its pricing and what’s new with version 4. Jesse’s portion of the podcast also includes an insightful discussion on 360Deploy and how that product works.
After Jesse, our very own CEO, Marc Larochelle, is on from about minute 11:40 until 41:00. Marc talks about what’s new (as of July 2017) here at Productive Computing – which included discussing our latest plug-in, the Exchange Manipulator SE, and its functionality. Marc also hinted that a Google plug-in might be in the pipeline for PCI (wink) and he mentioned that we are now Intuit Authorized QuickBooks Resellers!
Marc and Matt also discussed AWS (Amazon Web Services) and PCI’s hosting services, including how we manage our servers and why we use Amazon Workspaces. Lastly, they discussed PCI’s hiring and training practices (including our training program for all new hires).
At minute 41:41, Nicholas Orr from Goyacomes on to talk about their flagship product, BaseElements (which now has a new annual pricing model, making it more affordable and easier to upgrade) and RESTfm (cool story – FileMaker came to Goya to discuss RESTfm when they were creating the FileMaker Data API).
Nick also discusses his vendor session, which touched on the differences between RESTfm and Data API, including format flexibility and authentication flexibility.
The fourth and fifth guests on the show are James (Dave) Ramsey and Todd Geist from Geist Interactive at minute 52:15. In his segment, Todd’s talks about his 2017 FileMaker Award (for Advocacy) and Dave discusses their new product – FMPerception – and what exactly it is/does (hint: FileMaker DDR analysis tool that is crazy quick). Todd also talks about his training day session and what topics that training covered.
The last guest on the show is Mark Richman from Skeleton Key at 1 hour and 4 minutes. Mark discusses Skeleton Key’s extensive participation in DevCon, including the many sessions he and his staff presented during the week (Security 101 and The ABCs of reselling; 7 Tips for Getting More out of FileMaker Cloud and Introduction to SQL and ODBC; The Power of Bi-Directional Relationships and Programming for Power Users).
Mark also gave his opinions on the benefits of being a one-stop shop for your clients and the benefits of reselling FileMaker software.
There are some great interviews here – hope you enjoy!
- Read more...
- 0 comments
If you’re a dev, you are a power user. Below are 7 digital tools that are indispensable, and not necessarily for coding. I don’t know if they share any common characteristics, except that when I don’t have access to them, I grunt in frustration.
Distraction is a huge productivity killer. For me, it’s the #1 issue in ‘getting things done’. I’m an info junkie and I have low self control. Me, making a living at a computer, is like being a recovering alcoholic and working at a bar. Except I’m not Sam Malone. I’m not even close. Buying a box of cookies and just ‘not eating’ them doesn’t work. What does work is not buying those cookies in the first place. That’s harder to do when working in a cookies factory.
I love to read about a wide range of topics…current events, personal finance, urban planning. So, I’ve got to lock myself away from Facebook, reddit, twitter, washingtonpost.com, wsj, vox, 538, slatestarcodex, Mr Money Mustache, Bogleheads…well, you get the idea.
But having access to those during work hours is majorly counterproductive. The solution? Browser add ons. I use one on each of my three browsers (Chrome, Firefox, Safari).
These little utilities block access to sites of my choosing during certain hours. Very configurable, they lock away the liquor until it’s after hours.
JumpCut is handy little utility keeps track of your clipboard history. It ‘buffers’ your clips, keeping a history of up to 99 items that you can access and paste.
Say I want to copy and paste four separate items, pieces of code, from a website to a Data Viewer. By default, that process is: copy, navigate to the Data Viewer, paste, navigate back to the website, repeat 3 more times. With JumpCut, it’s copy, copy, copy, copy, navigate to the Data Viewer, paste, paste, paste, paste. It’s one of those things you *have* to try.
I’ve configured JumpCut so cmd-shift-V brings up the clipboard popover, then arrow keys move through my history. I use this shortcut at least 10 times every hour, every single day.
Boomerang is an app that integrates with Gmail and does two very cool and very different things: schedule emails and bounce emails back.
Scheduling e-mails is great. I use it in two situations.
If I’m emailing at 2 in the morning and I want to reply to client, but I don’t want to look like an workaholic nutjob. I use Boomerang to actually send the e-mail at 7:30am instead, looking like an industrious, early rising professional.
The other situation deals with that feeling when as you hit ‘send’ and you think ‘Oh, crud, that wasn’t right’. Gmail has a great ‘Undo’ feature. Start with that. But the max time is 30 seconds. If I’m sending an email and I’m not sure if my choices around tone or content are the best, but I need to move on, I will schedule to send it in 30 minutes, allowing me to ‘let go’ but leaving open the option of revisiting it if I realize I should have rewritten.
Your smile when you use boomerang
Bouncing e-mails back is super helpful. I’m a fan of Merlin Mann’s Inbox Zero. I use my inbox as a To Do list. If it’s in there, I need to deal with it.
*For the record, at the moment my inbox has 12 emails, and I never let it get above 50.
Some tasks, however, need to come back on my to do list. For example, I’ve got to get credentials from a client in order to work on their solution. I’ve emailed them but got an autoresponse that they’re away for 3 days. I don’t want that task sitting on my to do list, because I’m waiting on someone else. So I set the email to “Boomerang” in 4 days. The email will leave my inbox and pop up again in 4 days if I don’t already receive a response from the client. Brilliant!
MBS has produced the Amazonian rainforest of FileMaker plug-ins. With over 4,500 different functions, it’s an entire ecosystem, packed to the brim with medicinal plants. It’s well worth the $149 price. More awesomely, there’s two incredibly useful developer tools built into the free demo version: The ability to search scripts and the ability to search the relationship graph.
Install it, you won’t know how you lived without it.
LastPass or any password manager
If you’re not using a password manager, you’re being unprofessional. LastPass is the one I use. I haven’t tried KeePass or OnePass or any of the others, I’m sure they’re fine. Pick one and use it. Use a super secure master password (try the Correct Battery Horse Staple method with some of your own modifications), then let your encrypted password store of choice do the rest. I’ve got about 600 entries in my LastPass account, so “the rest” covers a lot ground. I don’t use the un-encrypted EverNote, no I use LastPass. With it I:
Generate random 16+ character passwords.
Updated all my sites so I’m not using the same P455w0rD on each.
Create random 6 letter pronounceable passwords to use as the answers to security questions.
Store credit card numbers, including the CVV code.
Store configuration details for FM Servers.
Attach a copy of SSL files to my client’s ‘note’.
Store the VIN of my car.
Store the make and model of my lawnmower.
Like most of humanity, financial security is important to me. One of the cornerstones to financial understanding is creating a budget. Whether you think budgets are prescriptive or descriptive, you should see where your money is going. Mint collates all your financial data in one place and allows you to assign income and expenses to categories you define. I have been using Mint since 2007. I check it at least twice a week, sometimes more.
The human brain is a complex organ. There’s growing evidence that using a screen before bed can interfere with sleep, in large part because the screen emits blue light. f.lux adjusts the color temperature of your screen based on the time of day so that at night, your screen shifts red, encouraging better sleep. Now, you shouldn’t be using a screen in bed, but if you’re using it at night, use f.lux.
I recommend all of these tools without reservation. Not that they’re perfect by any means, but they are indispensable.
Welcome to the fourth and final part of the FileMaker iOS App SDK series. In the final part of the series I will take you through building and compiling the iOS App. If you haven't yet read through parts 1, 2 and 3; now would be a good time to go take a look.
- Read more...
- 0 comments
Recent EntriesLatest Entry
[ Edit: 3/16/2016 - With the help of some other people, we have been able to recover, or recreate some of the original images from original thread. ]
Security is always a big topic when it involves data, or people, or possessions. Recently, over on the FileMaker Community, there was a very beneficial discussion regarding security. Unfortunately, that discussion was the victim of a necessary action...and was deleted. It was deleted, because the discussion was tied to a video that, as was determined throughout the thread, was not beneficial to the overall community of FileMaker users and developers. When that video was removed, the discussion vanished with it.
This post is specifically targeted at recompiling that discussion, because at it's core represents an important message that is necessary to convey and support. That is, creating ersatz security systems can introduce security vulnerabilities. In my experience, I have only seen 1 (one) approach that increased security while adding a 2nd factor of authentication. And it was complicated and not easily set up...and in the end, comes with it's own set of drawbacks.
One of the main things I took from the below discussion ( and it's a long discussion!! ), is this: What is the point of attempting to add a layer of security that does NOT increase security?! If the approach does not INCREASE security, why would you market the approach as a security technique?! The answer to that is the reason why the video that launched the discussion was deleted.
While I had much internal debate about the best way to republish the info from this discussion, in the end I decided ( with much input from others ), that just posting the discussion in it's entirety was the best thing. And in doing so, know I have, as do those that gave their input, nothing but respect for all those involved in the discussion. So that is what follows. One very important note: the discussion is one of learning. And I truly believe that no one involved in the discussion came out looking 'bad'. One could say, 'well yeah Josh, you didn't end up being wrong in the thread, so you don't care'. I assure you, I have been wrong in MANY discussions. In fact, I had a similar discussion with Wim Decorte in another thread several months before this one. As I researched, and tested...I learned not only was I wrong, I learned I NEEDED to change something in my development. Without any further introduction, here is the thread:
Original Discussion Thread from Community.FileMaker.com, a Video with an interview with well-respected developer Taylor Sharpe:
Date: August 12, 2015 at 5:42 PM ( Date of Original Video Post )
Title: Free Video>>> Two-Factor Authentication w/ Taylor Sharp
November 27, 2015 at 8:20 PM by Taylor Sharpe
Thank you for your interest in this video. It is an additional tool to the suite of FileMaker Security tools to help improve security. This video shows you how to enhance an already implemented security plan to make it even better by adding hardware verification. This tool has minimal impact on staff and uses tools currently available in FileMaker 14. This video shows how to use hardware verification as the 2nd factor authentication similar to how Google and Apple currently implement it. This tool makes use of the current security standard of verifying hardware with Persistent ID as well as FileMaker tools including a start up script and email or text messaging notifications.
Additional advice: In conjunction with two factor authentication, you should make sure you already are following the FileMaker security guidelines. Security is one of the cornerstones of a good solution and you should make use of least privileges necessary for users, appropriate password guidelines, consideration of external authentication services such as Active Directory and Open Directory, client-server SSL encryption with 3rd party authentication, Encryption at Rest, backups (yes, that too is a part of security), and physical security.
Caution: This 2nd factor authentication is only designed to work in conjunction with the other FileMaker security tools to enhance security and you should not rely solely on this as a single factor of authentication because it is only a hardware verification. Security is a constantly changing field. If you follow FileMaker’s Security Guidelines, you will have a robust and secure server. Additional security tools like this should be considered, as well as documentation of security controls in a security plan. There are additional tools available such as token passing, plugins with higher level encryption, biometrics, etc., that go beyond what is included with FileMaker that may have merit. At a minimum, you should evaluate your server’s security with some type of review or audit on an annual basis.
I wish you all the best and encourage you to make sure an appropriate amount of time is allocated to security when you are developing your solutions. DEMO FILE: Can be found at <sample file> ( link removed ). It is UU encoded, but ready to go with full access for Admin user account and no password. Feel free to make use of the sample file to copy scripts or layouts as you may need. Appropriate credit would be appreciated. Thanks.
November 28, 2015 at 7:50 AM by Wim Decorte
To be very clear: it is NOT true 2-factor authentication since it relies on the user already been authenticated and allowed into the solution before the 2nd factor comes into play...
November 28, 2015 at 2:16 PM by Taylor Sharpe
It might be a bit of splitting hairs, but not inaccurate. You are in FileMaker in-so-much as you are logged in and being processed by a start up script for further validation. But a regular user can't escape the script. The way to meet Wim's definition of Two Factor authentication is to have some other program perform that two factor authentication prior to FileMaker's credentials or FileMaker add this security feature and it reside outside of FileMaker scripting and before getting logged in (boy that would be nice, FileMaker, Inc.!). The assumption I was working with is that people are limited to FileMaker tools and you cannot avail yourself of those tools without being inside of a FileMaker solution to run the 2nd factor script. This means things like turning auto abort off. And it is a security improvement over single factor authentication, but it is not invulnerable. For example, someone with Full Access will be able to enable the script debugger and this is a reason to be very limited on who has Full Access and make sure those passwords are strong.
Tim Dietrich's FM Authenticator and others have done similar Two Factor authentications with FileMaker, but they all use a startup script like this one and are therefore subject to the vulnerability Wim points out. Just keep in mind that this can be an improvement to security assuming you have fully implemented the FileMaker security guidelines already and this is an ADDITIONAL tool, not an exclusive one. For example, it would be a bad idea to use this 2nd Factor authentication and tell people that they only have to use User ID's, but no passwords.
Thank you for the comment Wim. It is good that we all understand how security works and where its weak points are.
November 28, 2015 at 6:28 PM by Wim Decorte
I don't think it is splitting hairs; it's about calling things what they are. We certainly don't want people going around saying that FM does support 2FA when it does not. I'd hate to be part of a security audit where someone proclaimed that FM does 2FA based on this or a similar approach...
As to the level of security: while a user can not escape out of a script by simply pressing ESC, there are ways to stop scripts so relying on a scripted security system does not usually enhance security but rather introduces potential vulnerabilities.
November 29, 2015 at 2:47 AM by Taylor Sharpe
<Post deleted by Taylor Sharpe>
November 29, 2015 at 7:38 AM by Wim Decorte
Very disappointed in this reaction. Since when is a difference in opinion "inappropriate and unprofessional"? And I do not appreciate the insinuation that I am not a professional or worthy of working for Soliant Consulting, nowhere in my replies did I ever attack your integrity or the company you work for.
If 2FA is a requirement then I would suggest using technologies that do have full & native 2FA: like logging into the OS through 2FA and then use EA for access to the FM application.
I do withdraw from this conversation, not because I'm being told to by you, but because once a respectful debate over differing opinions is not welcome, then I do have nothing further to contribute.
November 29, 2015 at 7:12 PM by Josh Ormond
I am very surprised at this response, having seen the response before it was deleted.
The problem that Wim is pointing out is a real issue. We can call something 2FA, but if the person is IN the file after the first factor, for compliance reasons and technical reasons, it really is not 2 Factor Authentication. Because the 1st factor allowed them in, and you can't from there stop them from accessing the file. Simply put, one can easily stop the script from running and add their device as an approved device and access everything in the file. I don't see how that is increasing the security of the file. It only gives a false sense of security. Which leads to larger problems. This file, having never seen it before, took me no more than 15 secs to authorize myself to access the file from any device I want, using nothing more than the tools provided in the file. I only need one-factor to get in now...anytime I login.
If one where to promote their solution as a compliant solution using 2FA, they could be opening themselves to hefty fines. As Wim said, if 2FA is required, you need something that prevents you from getting into the file with 2 factors.
Though I do like Tony White's response to this discussion in another place: Maybe we should call it "1+1 Factor Authentication".
November 29, 2015 at 7:58 PM by Tony White
Thanks Joshua Ormond for the shout out. Here is the twitter perma-link to the thread.
I implement security that uses the built in tools and at the same time am open minded to creative ways of adding to security...as long as they successfully address defined use cases. Know the rules and know when you can extend them...
On a separate thread I proposed the idea of a security contest with a monetary price. https://community.filemaker.com/message/517290#517290
Interesting topic. Lots of considerations to factor in when coming up with best practices.
November 29, 2015 at 8:22 PM by Taylor Sharpe
Joshua, I deleted my own response and not FileMaker because I was offended by Wim and the way I worded the response was not professional. My bad and apologies to Wim.
I think there can still be a good discussion. Two Factor means that two methods are being used for authentication. Providing additional requirements on what makes another factor a real factor or not does not make it not another Factor even if it is not as robust as other possibilities. Wim does bring up a point about why it is not as robust as other 2nd factor authentication implementations because the 2nd factor is done within the solution and not before you are in the solution.
The solution I provide in the video uses the tools available from FileMaker. Within the constraints that FileMaker scripting tools provide us, it is a good security control. That is not to say going outside of FileMaker's tools or asking FileMaker to build a second factor authentication into the application would not be better, but those are not tools readily available to most of the users here. The solution provided improves security and it is a second factor of authenticating even though Wim correctly points out the 2nd factor is done within the solution.
The point I am making is that implementing this 2nd factor authentication, even with its limitations, is better than not implementing it.
There are a lot of OS level two factor authentication solutions including not only User ID/password, but tokens, or VPNs that would be required before you would have access to the FileMaker solution. They may be worth some discussion here too. But those are beyond what is trying to be addressed in this type of solution.
November 29, 2015 at 9:40 PM by Josh Ormond
I get the attempt. The concern I have with it is, it required only 1 factor for me to be in the solution and using it. If I didn't provide an email, it let me use the file anyway. Without ever requiring factor 2.
In Tim's solution for what he also called 2FA, at least the user was left in a low-level account. But even with that, I could edit and hack the file to pieces. Simply because I could get in.
Authentication itself is the process of deciding if someone has authorization for access. Two factor authentication is at it's core really supposed to happen before the person gets in the file. FileMaker doesn't provide a second access control for logging in. Though I do wish they did. It should be a feature request.
For reasons exactly like this, the data is at risk once the person is in the file. Even worse, for something that is script driven, I can stop the script from running and there is no trace that I even logged into the file.
I'm not hear to add fuel to an argument. Simply to voice a warning that for even a fairly new user, the approach can be easily circumvented...and when it comes to compliance, users/owners/database admins, need to know that. I would hate to see someone get hit with fines because they assumed an add-on security method was "safe". For compliance, there are other ways to secure the file and the data. Security 'add-ons' typically don't add any security. Just another layer of steps to get in. I say this simply because I have see too many solutions that owners thought were 'safe'...to which I was in reading them sensitive data while they were still explaining how to login the 'right way'.
And I'm glad to hear why you deleted the post. Both yourself and Wim are worthy of greater respect.
November 29, 2015 at 11:00 PM by Taylor Sharpe
Josh... I gave you a file with Admin and no password. This is a completely OPEN Admin with Full Access and no password. Of course you got in. You would not have gotten in with one where it automatically logged you in with Admin and Full Access. So you would not have gotten past the first factor, let alone the 2nd.
This database was left open as a development tool. Hacking it is as simple as opening it up because it defaults to the Admin with no password. You did not hack into it and your comments to this effect are not helpful to people reading this discussion. It implies you have some ability to defeat this solution when properly implemented and you have not provided any information to show that you have those skills, making me doubt that you can. But I will be glad to provide you a hosted solution properly implemented and be glad to give you a shot at it.
OK, that aside, Tim's solution did get you in with a low level User Account instead of whatever account you are in. The reason I went the way I did was because this is supposed to make things easy on staff instead of dealing with multiple logins and multiple passwords. The goal was to improve security while making it easier on the staff. This solution adds significant security with very minimal impact on staff. No it is not a perfect solution, and no control in a database ever is and you are should have many controls in a secure system. Most security plans identify hundreds of controls in every solution. You have to have multiple layers of control from least privileges to encryption. This 2nd Factor is NOT a sole security tool. It is used to enhance security with minimal impact and be easy to implement with the tools FileMaker provides.
This control as a 2nd Factor authentication is not perfect and is designed to work in coordination with other security controls. If you know about security plans, you know that most controls have some weaknesses. But you do not dismiss a control that is generally effective because where one control may not stop an intruder, another one will and it is the combined effectiveness of controls that makes the security. Removal of an imperfect control can weaken a security plan and removal of controls has to evaluate whether their imperfection is beneficial compared to not being there at all.
I still stand behind this being a simple solution that enhances security with minimal effort and using tools already provided by FileMaker. I challenge that those of you dismissing such a simple control that benefits security are lacking in good security judgement unless you are providing some improved alternative.
November 29, 2015 at 11:19 PM by Josh Ormond
I am not dismissing it completely. If some choose to use it, that is part of their own risk assessment. I do challenge the name. Primarily because I can prevent the 2nd factor from ever firing, very very easily.
I am aware of how you set up the file, and it's intent. I will assure you my test was thorough. I have tested several of these types of security measure. In some cases businesses decided to continue to use it. It was simply a user "trust" mechanism. In the meantime, we secured the file by other means. Some left it as is. Some abandoned it completely. That would be the owner's decision to make.
I will also step of of the conversation. I think there is just a core difference in the thought about what increasing security means. Which is at the heart of the matter. I hope for the best for you.
November 30, 2015 at 8:50 AM by Wim Decorte
Taylor Sharpe wrote: “I challenge that those of you dismissing such a simple control that benefits security are lacking in good security judgement unless you are providing some improved alternative.”
An improved alternative was already mentioned earlier: do the multi-factor authentication upstream from FileMaker.
These security implementations are never done in a vacuum and all angles should be considered, not just how the behaviour can be mimicked in FM. The first thing to be open about with the customer is that FM does not do native multi-form authentication.
So the alternatives are:
- discuss with the client how 2FA can be done before the solution gets launched and how it can be combined with things like External Authentication for the FM solution. This keeps all authentication strictly at the FM security level and does not add any vulnerabilities.
- discuss the security risks of the FM scripted approaches to mimic 2FA and if those are acceptable given the risk appetite of the client and the compliance requirements.
If neither are acceptable to the client then FM is probably not the right platform for the solution.
November 30, 2015 at 9:38 AM by Taylor Sharpe
Josh, I don't think really do understand. But I am more than willing to eat crow if I have misspoken and certainly willing to learn. So I have hosted the file on my development server at <link removed>. Please let me know when you are able to get in and how you did it.
Thank you, Wim. I concur with you that an "upstream" approach can be a good one to implement two factor authentication. And most everyone has some type of upstream security even if it is as basic as a User ID and password to get into a computer, but many companies do a lot more such as some form of 2 factor authentication, VPN connection, tokens, etc. I also agree with you Wim, that FM does not have native multi-form authentication at the application level. But that is something us developers can't control, and something I would encourage FileMaker Inc. to consider in future versions. It would be a nice security improvement tool.
However, within the tool set available to FM development, the 2 Factor authentication described above works and improves security, and will have a smaller hurdle to implement than most of the suggestions you have made. My goal was to keep things simple with the tools available inside of FM to improve security, and I have met that challenge within those criteria.
November 30, 2015 at 9:41 AM by David Zachary
I’ve been watching this thread with interest and a degree of amusement. My post may not have any substantive benefit to the thread, but it makes me feel good.
It reminds me of when Bill Clinton was going through his impeachment hearings. During an interview he was asked "was it sex?" and straight faced he replied "it all depends on what your definition of 'is' is". This thread has gotten to that point - what is the definition of 2FA? Clearly there are different opinions.
Having both parts of a 2FA system inside of a FileMaker solution, while technically 2 factors, is like having an alarm system on your house to compliment the door lock. You feel secure but somebody fast enough with enough skill can still break in and grab something valuable quickly. You've got 2 security measures but still got robbed. The better solution is to have an electrified fence and a moat around your house - everything of value is protected by measures not directly connected to the house. FileMaker security should be the final line of defense, not the first and not the only. Calling a system that has both factors inside of the target database as supporting 2FA is dodgy unless all parties are using the same definition of what 2FA is - while you say its 2FA, any client that has to follow government or corporate-defined 2FA specifications will likely disagree.
I'm not going to repeat what others have said (too much), but FileMaker does not natively support a 2FA system. You have to do it elsewhere. If your data requires that level of security, you need to look at supplementing the security infrastructure outside of FileMaker, long before an intruder gets to the FileMaker-level.
Thankfully Stephen Blackwell isn't on here much anymore. He would have probably had a stroke by now. His views on custom-developed security methods are well documented.
Back to watching from the sidelines.
November 30, 2015 at 10:09 AM by Josh Ormond
I understand both the intent of what you are arguing for, and have in the past felt the same way. However, I think you misunderstand me.
FileMaker's own built-in security is in itself the strongest security you can get with FileMaker. By turning on EAR, securing the physical server, setting up proper privilege sets and users, and limiting the ability to edit/create/delete privilege sets, and by using Extended Privileges, and in many cases using EA...you are secure and safe with your data.
With that, without the user name and password, one can NOT get into a hosted file remotely. That is one of the great parts of FM security. And you know that part as well.
What I am saying...the average user can stop your second factor, very easily...so it does not enhance the security. I have seen so many poorly implemented security add-ons in FM. Because the developer or user was trying to imitate another security functionality. It looked like they were enforcing 2FA...but in reality not even one of the users actually ever completed the 2nd factor.
In essence, it feels like putting a second deadbolt on your door, but putting the lock handle ( normally inside ) on the OUTSIDE. It doesn't do anything, other than give some more strength to the door...so someone would have a more difficult time kicking in the door. But if someone already has the key for the other deadbolt...they simply spin the lock handle and walk in. Zero added security.
In this case I need to nothing other than stop the script from running. So with a log in, I can log in from ANY device. Not to mention there are serious problems with Get ( PersistentID ) on Windows, so it's simply not reliable.
November 30, 2015 at 10:19 AM by Taylor Sharpe
OK, Josh, this moves us forward some and thanks for the comments. How about this, what if I put a non-Full Access User account in that File. Are you able to defeat the 2nd factor? For example, I just added a "Josh" account with no password and it is set for the privilege set "Data Entry Only", but has no authorized devices.
Also, I'm interested in learning more about the problems with Get ( PersistentID ) on Windows.
November 30, 2015 at 10:32 AM by David Jondreau
“without the user name and password, one can NOT get into a hosted file remotely."
That is the whole point of 2FA. You can put all the locks on the doors you want, but if your user leaves the key under the mat, your file is compromised.
2FA is not some miracle security feature. It simply is a philosophy that to improve security, users should have 2 of 3 different things: something they know (username/pass); something they have (a specific cell phone); and/or something they are (a fingerprint). Yes, the line between some of these categories is blurry, but the point isn't to get involved in a semantic debate of whether a fingerprint is something you are or something you have. The point is to improve security.
I have not watched Taylor's video (I hate watching videos). But I have looked at the sample file, which in my opinion, doesn't do a great job at improving security since the only user account is full access. But it's a sample, for developers to look at, so it's not a real world scenario. And maybe there's more in the video.
Regardless, the point is the file already requires a username and password. Taylor is *already* doing the minimum of requiring one factor (something you know). He is adding on an additional "factor" of a device. Is the implementation effective? I'm not sure, but I certainly don't see where the criticism of the underlying principle is coming from.
November 30, 2015 at 10:46 AM by Josh Ormond
6 Months ago, I would have written the same thing you did. However, having seen a similar 2FA system implemented and relied on in a medical environment, unless there is something else involved does not meet some of the compliance standards.
Penalty fees are typically based on the number records. I have seen customers get fees into the $10s of thousands of dollars as a result. That is the primary reason for the strong reaction. If a customer wants to use it, that's up to them. I'm not opposed to it, as long as the purpose is to simply increase security.
The reference to leaving the key out is a user thing. I am referencing the developer actions. The user behavior is a separate issue from file security.
November 30, 2015 at 10:49 AM by Josh Ormond
With the current setup, the data-entry account can't even fire the startup script. So even with an authorized device, one could not get in.
November 30, 2015 at 11:01 AM by Taylor Sharpe
Oh, you are right, Josh. I didn't give the Data Entry fmapp extended privilege set. I have fixed that now.
November 30, 2015 at 11:18 AM by Richard Carlton
Very interesting. Taylor, ideally you wouldn't spray the table of secure data on screen... but I guess
that makes the hack that much more interesting. LOL! I guess we have Taylor's 2nd authentication.
So the challenge now is to stop the script and get access to the file... or otherwise spoof it with Taylor's info.
Josh, if you know how to hack this... that would be alternately cool... and also scary to see. Its not immediately obvious to me how to stop the script engine.
I am genuinely curious how you do this.
I think for the point of the exercise... we should assume EAR is enabled... and so reading network traffic with a packet analyser won't work.
November 30, 2015 at 11:29 AM by Taylor Sharpe
Richard, yes, I didn't mean to mess that up for Josh, but it is fixed now so the Josh account can get in and I did it to confirm it works.
And, yes, EAR has been done, SSL 3rd party encryption is on, and using FileMaker Security (not AD/OD). Running on FMS 14.0.4 on a Mac OS X 10.11.1 Mac Pro Black Cylinder.
November 30, 2015 at 11:41 AM by Richard Carlton
Ok... well... let's make it fun. I'll put up $200 for anyone who can hack the file and get into it in a meaningful way. Read only access would be good enough... to be able to read another layout with data on it.
To Win, you must be able to do a screen share to demonstrate how you hacked the file... and I get to interview the winner. Then you get the $200 USD.
November 30, 2015 at 12:40 PM by Josh Ormond
Dangerous. You are going to owe me $200. Note, not only did I get in, I authorized myself for future log-ins, and altered other data. And if I wanted to be nasty, I can lock everyone out by hosing the PersistentID.
Did you want to see the Device Access also?
November 30, 2015 at 12:43 PM by Josh Ormond
Here are the approved devices also. Note in both of these screen shots, the Persistent ID isn't not even the one from my machine..it still lets me in.
November 30, 2015 at 12:53 PM by Wim Decorte
Ha, you beat me by about 10 minutes.
In case someone wants the data in excel...
November 30, 2015 at 1:31 PM by Taylor Sharpe
OK, good job Josh and Wim, in breaking the 2nd factor. I guess this means you got around the Allow User Abort Off, which I am not sure how that is done. Would you like to share with us how you did that step? I just want to learn more about this and kudos to both of you. Lets just make this a learning thing. Thanks.
November 30, 2015 at 1:41 PM by Wim Decorte
Working on that. But at the risk of sounding unduly snotty: this kind of info needs to be part of bigger message that is being worked on; so "not yet".
For now the focus point is on not trying to roll your own security using tables and scripts. Stick with the native FM features. Your first factor works like it should.
November 30, 2015 at 1:43 PM by Richard Carlton
I wouldn't say $200 if I didn't mean it. LOL. Hell, I frequently give cash away to presentations to make sure people are not sleeping. :-)
Please arrange to call me to discuss.
November 30, 2015 at 1:46 PM by Josh Ormond
Will you be at DevCon next year? Maybe we can show you in person. Definitely not something I would post in a public forum.
The main thing is that anything you allow me to do in the privilege set is the only thing that determines what I can and can not do. Scripts do not prevent anything. Obscurity does not prevent anything.
November 30, 2015 at 1:48 PM by Taylor Sharpe
wimdecorte wrote: “Working on that. But at the risk of sounding unduly snotty: this kind of info needs to be part of bigger message that is being worked on; so ‘not yet’.”
Take your time... I just want to learn and make sure others are learning too. Your input is appreciated.
November 30, 2015 at 1:50 PM by Richard Carlton
Frankly...this is an excellent conversation. I like it... as it allows for valuable knowledge sharing. Just telling people "don't do it"... isn't always the best way.
November 30, 2015 at 2:03 PM by Josh Ormond
This is a good, brief read. And also has a link to Stephen Blackwell's info on the FMPug site.
November 30, 2015 at 2:04 PM by Wim Decorte
Richard Carlton wrote: “Just telling people ‘don't do it’… isn't always the best way.”
Yep. The "why" has been covered many many times however. Steven Blackwell has talked about this at many devcons for instance.
November 30, 2015 at 2:18 PM by Taylor Sharpe
Yes, what was stumping me was I understood how Wim got in looking at tables. I didn't understand how Josh saw the actual layouts since he posted a picture of it.
Anyway, I've changed the Security "File Access" to require full access privileges to use references to this file. So that would fix that vulnerability and it is a good point to remind people about before moving a database into production.
And Wim reminds us that Mr. Blackwell shows us this technique at Devcon and he did this past summer too.
It does make you wonder if that should start to become a default setting on new files.
November 30, 2015 at 2:19 PM by Taylor Sharpe
oh, when I reposted it with the fix, I removed Josh and created Wim with no password.
November 30, 2015 at 2:25 PM by Richard Carlton
Yah...that security setting needs to be more prominent. I remember people doing this in the FM 5 and 6 days.
November 30, 2015 at 2:43 PM by Richard Carlton
Cash Payment Made $200 to Josh!!! I always make good on our contests.
November 30, 2015 at 3:33 PM by Wim Decorte
Richard Carlton wrote: “Yah...that security setting needs to be more prominent. I remember people doing this in the FM 5 and 6 days.”
Agreed. The whole security interface needs to become more intuitive and complete.
Note that closing this particular hole does not make the scripted 2nd factor safe though I'm traveling this week so I won't have to play with this anymore until the end of the week.
November 30, 2015 at 3:45 PM by David Jondreau
I can think of at least 3 ways in.
I'm not sure what Josh and Wim have been up to, but one was File Access.
The second I'm still playing around with and it may be similar to Josh.
The third is a much bigger deal.
November 30, 2015 at 5:48 PM by Richard Carlton
Yeah... the File Access Trust features should have been enabled. Thats low hanging fruit. The rest of these are more interesting. - RC
November 30, 2015 at 6:15 PM by Matt Petrowsky
What I've got to say is tangential to the immediate topic, but I've been wanting to say it for a while.
I've been stewing on this whole "ersatz" security thing for quite a while. While I will fully agree with advising the general developer population about not creating their own login system, there are times and places where it's warranted. In particular, if you are wanting to use FileMaker as a development tool for end-user solutions where you really don't want to deal with FileMaker's account limitations.
To that end. I'm posting a PDF I just created about the security model I use on systems where I DO create my own ersatz login system. Poke holes in it and tell me where you think it might fail. I think it's pretty robust - since it simply emulates the whole login system of most modern software.
Please review and send feedback. I can start another thread, but I see that the people who are here now will see this and provide me with feedback.
The biggest argument I have against the "FileMaker security only" proponents is that just because you can get into a FileMaker file does not mean you can do whatever you want within the file - especially, if you know how to limit the risk exposure. I make the analogy that if I can go to your web site and see some stuff then it's no different than opening a FileMaker file and being able to see some stuff. Moving from one level of access to another always boils down to one line of code somewhere. I look at FileMaker the same way. I can let you into my file, but I won't let you do or see anything I don't want you to.
Check out the attached PDF and tell me what you think.
November 30, 2015 at 6:46 PM by Taylor Sharpe
Good read, Matt. I've just been through it once and it seems very thorough. I'll have to chew on it a bit to see if I can think of other things.
While sticking with FileMaker security is the safest and easiest, I know there are some times when we need something different. While this seems very foreign to FM, it actually is rather common in SQL engines to have stored User ID's and hashed passwords and maintain privilege sets, etc. One real benefit of FileMaker is how strong and simple their built in security is integrated into a solution and how much harder it is to do in other systems where security isn't built in.
Thanks for the PDF, Matt, and I'll be doing some more reading on it.
November 30, 2015 at 8:46 PM by Josh Ormond
Lots of good stuff there Matt. There are probably a few ( very few ) developers in the community that I think could execute something that is very secure. But I have only ever seen 1 such system as of yet, and it was way outside of normal thought. And unfortunately, from a developer that is not longer active anywhere and their email is defunct. When I had seen the file 6 years ago or so, I was too much of a newbie to know exactly what I was looking at.
The issue, even for the best of developers, that I see is...in 6 months, you have changed your approach for things slightly. It requires a complete rework ( or reminder ) of your security settings to ensure you don't open a hole. With any restriction that is imposed via script, it can be completely circumvented and data viewed/stored outside of the database. It's clearly something that is on the mind of any developer of any platform. But all one needs is the privilege set to allow the user to view data.
I definitely see a great need for a more robust security scheme. I would like to see native 2FA in FileMaker. That is at the top of my list. Outside of that, FM security and Extended Privileges, and External Authentication have served me for almost everything I've needed.
November 30, 2015 at 9:57 PM by Wim Decorte
Matt Petrowsky wrote: “The biggest argument I have against the "FileMaker security only" proponents is that just because you can get into a FileMaker file does not mean you can do whatever you want within the file - especially, if you know how to limit the risk exposure.”
In that "knowing" lies the conundrum, right? To loosely quote Mark Twain: "It is not what you don't know that hurts you, it is what you know that isn't so".
I think the overall discussion would be much easier if more people acknowledge that scripting your own security solution introduces more risk potential, not less. Risk can be mitigated but it relies on a very solid understanding of the behaviour of FM on all levels, not just the security level. Every new and changed FM feature behaviour bears the risk of blasting a hole in the ersatz model.
That acknowledgment is what I do not find enough in these discussions. There is a long-standing myth that pretty much any ersatz security model is just as secure or even more secure than the native security features. And that is simply not so. As this thread has proven.
I am on the road right now so I have not had a chance to review your document. Will do so and then return to this thread.
November 30, 2015 at 11:04 PM by David Jondreau
I have some warnings to give, but am not going to post publicly. I'm trying to send a private message, but it's not going through. I'll try again after posting this...
Taylor, you've made some changes to the server since this afternoon. That's the first step.
To answer the original challenge:
The easiest answer is simply to use ExecuteSQL() in the data viewer. Using one statement to grab the table schema, and another to grab all the values. Even with the custom dialog, the data will show up on hover.
https://community.filemaker.com/servlet/JiveServlet/downloadImage/105-9612- 19278/Screen+Shot+2015-11-30+at+1.51.48+PM.png <image lost>
November 30, 2015 at 11:59 PM by Matt Petrowsky
Wim Decorte said: “if more people acknowledge that scripting your own security solution introduces more risk potential, not less. Risk can be mitigated but it relies on a very solid understanding of the behaviour of FM on all levels, not just the security level. Every new and changed FM feature behaviour bears the risk of blasting a hole in the ersatz model.”
Exactly my point in providing the information I did in the PDF link. I look forward to your feedback on it!
December 1, 2015 at 12:23 AM by Taylor Sharpe
David Jondreau wrote: “Taylor, you've made some changes to the server since this afternoon. That's the first step.”
To answer the original challenge:
The easiest answer is simply to use ExecuteSQL() in the data viewer. Using one statement to grab the table schema, and another to grab all the values. Even with the custom dialog, the data will show up on hover.
https://community.filemaker.com/servlet/JiveServlet/downloadImage/105-9602- 19267/Screen+Shot+2015-11-30+at+1.51.48+PM.png <image lost>
The only change I made was with the easy way you can use a TO in another solution to see data in the original solution if you have the same User ID/password and that had already been provided. So all we did was change the File Access security so you can't add a table from another solution without Full Access.
David... good example of how ExecuteSQL can be used to view things in the data viewer and it does give you access to schema. That lets you read data, but doesn't let you change it and not sure how this would be used to stop the Persistent ID verification. But clearly that is something that in the security world you don't want done.
I guess this is why Tim Dietrich's system had an intermediary user ID log in for the Persistent ID verification and that User ID had very limited table access and only to verify the Persistent ID and connect with a User and their Email. You would be in the solution as Wim notes, but not at your normal User ID access level. And upon verification, have a re-login with your normal User credentials. And that would be a better solution.
Thanks for the thoughtful input.
December 1, 2015 at 1:03 AM by David Jondreau
Hmmm...You've made other changes to your server. Not to that file per se...but I'll save that for a private message.
Point is I can see all the data that user has access to. I can't change it. But I can easily view any data. And that took less than a minute.
There are other points about how to change data that I'll put in a private message as well.
December 1, 2015 at 2:51 AM by David Jondreau
And here's my entry...
December 1, 2015 at 9:06 AM by Taylor Sharpe
Impressive David to see the Persistent ID script hack. I'm more interested in this hack than the File Access one since I already knew about it. But you got through with File Access turned off. Kudos.
December 1, 2015 at 9:12 AM by Josh Ormond
Any time the privilege set allows the user to be able to edit the data, any of the external APIs will allow the user to edit the data.
Even with this item fixed, the user can still view the data and extract it. The strongest security in FM is FM's own privilege sets. As the conversation with Matt and Wim brings out, there are ways to MOSTLY secure the file. However, one needs to be aware of the risk and then decided through a risk assessment if it's worth it to take on that risk by using an ersatz model.
It's difficult to claim that an ersatz model "increases" security. Because there are too many variables in a solution to claim that. If it's a workflow you want to include, that's one thing. Touting it as a security model, well, that makes me uneasy.
December 1, 2015 at 5:26 PM by Taylor Sharpe
December 4, 2015 at 12:18 AM by Josh Ormond
I read a very funny post today. Truth, but funny. http://fmforums.com/topic/98626-password-to-continue-script/#comment-448504
Here is the part of the post that touched me funny.
Kris M wrote: “Implementing a security feature using scripts and stored credentials is problematic. Its like whack-a-mole to cover all the potential threat vectors.”
The 2015 Women of FileMaker luncheon will be held on Wednesday, July 22nd from noon-2 p.m. The luncheon will be held in the Nolita Ballroom at the Cosmopolitan Hotel, Las Vegas during DevCon 2015. Please register in advance at the Women of FileMaker website as seating will be limited this year. You may also join the event via our Facebook Group.
This is a great opportunity to network with other women business owners and developers from around the world. We look forward to seeing you there!by
- Read more...
- 0 comments
I don't blog much - but I wanted to say i really enjoyed my second visit to dotFMP.com in Berlin a few weeks ago ( first week of June). It was a fantastic collection of brilliant talent! and very kindred souls, that I have had the pleasure of visiting.
The start to the conference in Berlin was the oldest beer garden in east Berlin - and well when in Berlin
Was a great way to start a conference.
Here is an audio recording of a impromptu podcast I did with Egbert or @pixi the conference organizer.It was a fantastic program and encourage everyone to come next year June 2-4 in 2016 Point you browser to dotfmp.com or on twitter @dotfmp for the latest updates.
- Read more...
- 0 comments
We just posted a new update of DayBack with a sweet little enhancement to the Resources tab: you can now change the number of resource columns on the fly. This short movie shows how that works and how to download the update into your copy of the calendar.
If you’re new to DayBack, learn more [...]
- Read more...
- 0 comments
On 3rd December 2013 at SANTA CLARA, California Filemaker Inc. unveiled the next-generation platform for business productivity: FileMaker 13. The new software makes it even faster and easier than ever for teams to create gorgeous, tailored business solutions for iPad, iPhone, Windows, Mac and the web that deliver significant productivity gains. This is a superb version of Filemaker till date which includes more than 50 additional features.
- New design features make it faster and easier to consistently create great-looking databases.
- New features for iOS make it faster to create solutions and easier to enter data on iPad and iPhone.
- New development features help you create more useful solutions more efficiently than ever.
- New security features ensure your organization's data is more secured.
- Faster database operation.
- Get support to inserting multimedia like sound, videos into container fields.
There are lots of additional features included in different sections which are described below section-wise:
- Advanced Layout Management
Layout design enhancements: Redesigned New Layout/Report assistant Create layouts and reports that are optimized for the devices they'll be used on, with predefined screen dimensions, views, and themes for viewing on computer, iPhone, and iPad screens, or for printing in a variety of formats.
Undo/Redo Changes: Undo and redo changes to layouts even after you've saved the layout or previewed the layout in Browse mode.
- Page Breaks Control: Show or hide page breaks in Layout mode.
Enhanced options for managing styles and themes – Apply formatting styles to layout objects, parts, and backgrounds to promote a consistent look throughout your solutions. To manage theme FileMaker 13 provides options to create new theme, import theme from other files and save themes.
- Advanced Layout Objects
In FileMaker 13 there are 2 advanced layout objects added e.g. Popover and Slide Controls.
Popover: Create popovers to allow you to work with fields and other objects without having to move to another layout/window. To know more about Popover take a look on following video.
Slide Control: Create multi-panel slide controls to allow you to group objects in separate slide panels. To know more about Slide Control take a look on following video:
- Object Styling
To add different style to layout objects in FileMaker13 there are many styling features added as below:
Control object visibility: Hide or show layout objects by indicating whether an object is hidden or displayed depending on a specific condition or calculation.
Field Picker: Using the Field Picker dialog box drag the fields to the layout.
Object type selection: Use the drop-down list in the Appearance tab of the Inspector to select and style objects with multiple parts (such as portals or slide controls).
Shadows and padding: Apply shadows and padding to objects in the new Advanced Graphic area of the Inspector.
Improved object moving and resizing: Duplicating objects with “snap-to”,Resizing multiple objects and Dynamic guides etc.
Dynamic Naming to Tab Object: Can give tab name by providing a calculation.
BUILD IN FUNCTIONS
New Functions: There are lots of new build-in-functions added in FileMaker13 such as following:
Changed Functions: Few existing functions have been modified in FileMaker13 they are as following-
GetLayoutObjectAttribute() ["isFrontTabPanel" attribute changed to isFrontPanel and a new attribute added "isObjectHidden" ]
Get( TriggerCurrentTabPanel ) changed to Get( TriggerCurrentPanel )
Get( TriggerTargetTabPanel ) changed to Get(TriggerTargetPanel)
To make better scripting in FileMaker13 there are many enhancement done to the script editor as there is new option for check compatibility to Macintosh and Windows platform.
Few script steps enhanced for better usability as follows:
- Improvement to 'Show Custom Dialog': You can create a button label based on a calculation.
- Execute SQL script step compatibility: Compatible with FileMaker Server, WebDirect and CWP
- New script steps
Few new script steps have been added in FileMaker13 they are:
Insert From Device
Open Manage Themes
Perform Script On Server
Set Script Animation
Upload To FileMaker Server
- Script triggers
There are few new script triggers added they are:
OnGestureTap – Triggers a script to run when a tap gesture is received on a layout in FileMaker Go.
OnLayoutSizeChange – Triggers a script to run after a layout or window has changed size as a result of the following:
In FileMaker Go: Rotating the iOS device, hiding or showing the status toolbar, or when a window is first opened.
OR In FileMaker Pro and FileMaker WebDirect: Changing the size of a layout or window by user interaction, by script step, by hiding or showing the status toolbar or formatting bar via menu command, shortcut, or script step, or when a window is first opened.
1 script trigger has been changed that is:
OnTabSwitch is now OnPanelSwitch.
There are 2 ways to host the FileMaker database files first through Filemaker Server by upload files to FileMaker Server and another 1 is WebDirect which is a new and prominent feature in FileMaker13.
By using FileMaker WebDirect technology user can access layouts from FileMaker Pro databases in a web browser.
- Desktop style interaction: Use themes, styles, charts, menus, and more. Even drag and drop files into container fields.
- Live updates: Get instant access to changes in your data or solution no need to refresh your browser.
- Automated processes: Enable scripts, calculations and conditional formatting to validate data and streamline work flow.
If the IP of the hosted FileMaker server is 192.168.14.123 then the URL to open the WebDirect on browser will be: https://192.168.14.123/fmi/webd
Database Encryption feature has been included in FileMaker13 to Encrypt database files to protect them from unauthorized access while the files are being stored on disk, by requiring all database clients to open encrypted database files with an encryption password.
You can encrypt database files by using the Database Encryption feature of FileMaker Pro Advanced. Encryption protects FileMaker database files from unauthorized access while the files are being stored on disk. Temporary files that are created by encrypted files are also encrypted. You create an encryption password for the file, which protects the data if the file is copied or stolen. Users who do not enter the encryption password are not allowed access to the file. Encrypted files can be decrypted as needed.
Features not available in Filemaker 13
- Instant Web Publishing (IWP): FileMaker Pro no longer hosts database files via Instant Web Publishing.
- Exporting and saving records in Excel .xls format – FileMaker 13 no longer supports exporting or saving records in Excel 95-2004 Workbook (.xls) format.
- Support for inserting sound into container fields – Menu commands that support recording sound into container fields have been removed from FileMaker13 Pro.
To view the PPT presentation of this topic visit following link:
With best regards,
- Read more...
- 0 comments
- Advanced Layout Management
1) To create an iOS friendly layout for FMGo, the best practice is to minimize the amount of horizontal and vertical scrolling required to interact on your layout. To achieve the same, we should make a single layout for iPhone having size 320W X 255H and for iPad having size 768W X 673H (instead of making two layouts one for landscape and one for portrait) along with proper anchor locks which will stretch it properly to fit for both the landscape and portrait mode view.
2) We also need to take care of the proper anchor locks for the objects(fields,graphic, webviewer etc) placed on the layout so that the objects showing correctly in one view would not overlap with each other on the other view. The other benefit of this size layout is that we will not have to scroll in either direction to view all of the objects.
3) Sometimes, we need to make the layout big enough to hold all the objects, in this case we have to design the layout smartly we can make use of the side a block method to make the layout work both horizontally and vertically. We can even make use of tabs to place tab related objects on it thus limiting the layout to above size.Please have a look on to the below link to get a better idea of the side a block method:
4) Locking the zoom level is helpful on a list view to prevent horizontal scrolling and can be done by using “Set Zoom Level[Lock;100%]” step in the navigating script of the layout for that file. However a possible best practice would be to defer zoom levels to the user rather than setting them by script.
5) Make sure the size of button and the space between them are adequate so as user doesn’t accidentally click the button near the one that he is intended to click.
6) Make sure the size of the text are large enough to interact with the database from the iPhone and iPad.
7) Don’t forget to make your list views 4pt narrower so as to accommodate the indicator for the active record. Some other factors to take into consideration while designing the layout are:
FMGO ITEM INFORMATION
Toolbar 44 points high in Portrait mode on the iPhone / iPad
Toolbar 44 points high in Landscape mode on the iPad
Toolbar 34 points high in Landscape mode on the iPhone
Status Bar 20 points high in Portrait mode on the iPhone / iPad
Status Bar 20 points high in Landscape on the iPad
8) Sometimes, field height do restrict the bottom of character on iPad and iPhone such as “g”, “p” etc, we should take care of the same by increasing field height or doing the correct alignment for top, bottom or middle for that field.
9) “Allow User Abort[Off]” step should be set appropriately for the application so as to avoid users to interrupt scripts by double-tapping a scripted UI element. This lets user unintentionally stop scripts from executing, potentially interrupting
data processing scripts and potentially introducing data corruption.
10) We should use small images or native FileMaker contents to make the navigation to the layouts faster, we can even use the hidden tab control feature to hide objects contributing towards loading time for the layouts, and show them with the
click of a button when the user is intended to do so. Please have a look on to the below link to have better idea of the same:
11) Make use of a webviewer instead of field to make the content non-editable and scrollable in FileMaker Go. Please have a look on to the below link to have better idea of the same:
12) Finally it is always the best practice to test the layout for each aspect on the iPad and iPhone itself while doing the design.
Surya Kanta Mekap
Software Developer, Mindfire Solutions, India
- Read more...
- 0 comments
How I got a list with data from MySQL in less than 1 second with a SQL VIEW - from an awful 20-25 seconds when going through relationships between multiple tables from the MySQL database.
My Filemaker solution is integrated with a MySQL database that has been highly normalized for different reasons.
This means that a simple list with 4 different fields can easily contain info from 4 different tables, where a couple of the relationships might span 3 tables. This made the performance in FM really awful. In my case, this easily meant 20-25 seconds to pull out a list of 50-60 records from a total of 3000 records in the parental table.
Not really acceptable, and I had to find a solution to it.
These were the solutions I considered:
Update a shadow table in FileMaker each time the list was to be made, and perform the find on the shadow table. The shadow table would mainly contain the info the list needed, pulled from all the different MySQL tables.
But I wasn't sure about the performance, and I was afraid of not managing to get it implemented in all the scripts different places.
Make a Execute SQL query, parse the data and add it to the correct fields with loops, but this meant a lot of scripting in different places, and it got really complicated getting the right info into the right fields each time.
I also considered making some new relationships in FM, in the Anchor-Buoy style, but cluttering up my relationship graphs with even more things (it already contains more than 60 unique tables + some "duplicate" TOs), and probably only gain a little bit performance wise, really didn't seem too tempting.
Then I read about MySQL views. This can be looked upon as a saved SQL query, making it easy to get info from different tables into one view, filtered and sorted. I suppose it can also be likened a bit to a FM layout with a search and sort performed at entering the layout.
In the MySQL community, these views seem to be frown upon, and performance can apparently be really awful if a view is based on an other view.
But for Filemaker, MySQL views mean that the processing is already being taken care of in the MySQL server, so that FM does not have to get all the info from all the external tables, process through a bunch of relationships and then spit out the wanted result.
(Without really knowing how FM communicates with SQL databases, that means that views might also be a good idea to use if you only use a few fields in a table, especially if the table also contains big comment fields or the like. But I haven't really checked it out).
In my case, where all I needed was 4 fields from 4 different tables, but actually spanning a total of 6 tables (two intermediary tables as well), making a SQL VIEW seemed promising.
First, I needed to go into Manage External Data Sources, Edit Data Source, and check Filter by types "Views" by the bottom.
This means that views will be listed in the same way as a table from the SQL database.
In FIlemaker, I have made myself a sSQL table, where each new record has a field for a SQL statement with a comment field, a name field and a Excecute OK timestamp field attached. Plus buttons for the Execute SQl script and duplicate record on the layout.
(And a second SQL statement field, result field and Excecute button for SELECTing the result, or SELECT count(t.uniqueField) FROM viewName, to easily see the result).
This way, I could fiddle around with different VIEW statements until I got it right.
The main statement is
CREATE VIEW viewName AS
(And ALTER VIEW to make changes to the same view.)
The main thing to know, is that a view does not ahve any indexes itself. In native Filemaker tables, each record has a hidden unique key. In external ones, Filemaker thus needs you to specify a field, or a combination of fields, that will contain unique values for each record.
In my case, the following statement worked:
FROM tableWithUniqueRecords t
LEFT JOIN ... AND language_ID=y
While a where statement did not do the trick, returning a different number of records:
LEFT JOIN ...
There are many different JOINs, so make sure you get the right one for your solution.
In my database, there were some orphans here and there, both form my early stages of making a FM interface, and from an other program we had bought, that had contained some faulty SQL statements.
I thus had to spend quite a lot of time washing my data, but that was probably needed anyways.
For one of my views, I only needed to get one result from the child table. Just like when it might sometimes be OK to put a field from a child table on a parent layout instead of inside a portal, only showing one of the children.
For the views where this is necessary, all you have to do is to add the folowing statement to the bottom of the SQL statement:
GROUP BY t.unique_id
Then you ensure that the view will only have unique parent records.
I am sure many real developers already know about this, and hopefully have some more information on it.
But I didn't really find anything, and it just saved me so incredibly much development time.
Plus whooped my performance:
Finding a list with 50-60 records (from a total of about 3000 parental records) in the old way, took a whooping 20-25 seconds.
Changing the layout source and the fields on the layout to reflect the new ViewName table occurrence took me about 1 minute to change. Finding the list with 50-60 records now takes less than 1 second - or only 1/20 the time it used to!!!
So the performance in my solution really skyrocketed with the addition of a few views to the SQL database.
I would be really interested in getting some performance info on different types of views from real developers with big test databases and testing kits, but my main reason for writing this post, is to hopefully help someone else struggling with the same problems that I did.
We're seeking help from you, the FileMaker community, to bring our FileMaker Go solution, GoBillit, to market. You can support us on Indiegogo at http://www.indiegogo.com/gobillit! Every contribution is greatly appreciated.
We've also created a group on LinkedIn for FileMaker Go developers to come together, learn from each other, and work towards better mobile solutions. Check it out at http://www.linkedin.com/groups/Filemaker-Go-12-4575157?trk=myg_ugrp_ovr. Feel free to join!
- Read more...
- 0 comments
Recent EntriesLatest Entry
FileMaker 12 and SuperContainer: A comparison
Of all of the new features in the recently released FileMaker 12, one of the most significant is the inclusion of enhanced container fields with managed storage. These enhanced container fields offer users a simple solution to store container assets outside of the database file in order to avoid increasing the size of the database file itself.
Solving this issue was the driving force behind the development of 360Works' SuperContainer, a server application that leverages FileMaker's Web Viewer to manage digital assets from your FileMaker interface.
In this article we'll compare the unique features of both FileMaker Enhanced Container Fields and SuperContainer so that you can make an informed decision for your solution.
FileMaker and SuperContainer BOTH offer
Small files sizes- Both FM 12 and SuperContainer allow you to manage assets without increasing the size of your FileMaker file. This ensures that your file is still fast, clean, and portable.
Thumbnail generation- Both FileMaker 12 and SuperContainer can generate network-efficient thumbnails. This means that for image files, the container fields will generate a thumbnail of the image, while interactive files, like .mp3 or .mov, have the option of immediate streaming playback. This can help to optimize database speed as the images and files are progressively streamed to users from the server, rather than waiting for the entire file to download. Note that when using SSL encryption, only SuperContainer supports streaming - FileMaker Server does not. Also note that for thumbnail generation of PDF files, SuperContainer must be deployed on a Mac OS X sever.
Interactive content- Both FileMaker 12 and SuperContainer can store static and interactive media, allowing you to read through the pages of a PDF document, playback audio or video files, or view thumbnails of image files - all from within the container field.
Easily move, copy, or upload existing files- Both FileMaker 12 and SuperContainer allow users to easily manage their assets, giving the ability to move files to new directories, copy files to new locations, and easily upload existing container field contents.
User interface control- FileMaker 12 and SuperContainer both give you control over the look and feel of your layout objects, including displaying titles, metadata, playback functions, upload, download, or delete functions, and thumbnail size.
Drag and drop- FileMaker 12 and SuperContainer both allow users to drag and drop files into fields
FileMaker 12 Unique Features
Encrypted File Storage- FileMaker's enhanced containers offer enhanced security settings for assets stored externally using the Secure Storage option. This encrypts files (AES-128) to be readable only by FileMaker Pro and distributes the files across numerous subdirectories within your base directory. SuperContainer only offers encryption during transfer, not in a stored state.
Upload from FileMaker Go- While both FileMaker 12 and SuperContainer work well for read-only mode in FileMaker Go, only FileMaker 12 container fields support uploading from the camera or photo library in FileMaker Go.
Single user support- FileMaker 12 runs well in single user mode. SuperContainer requires the application to be installed and running on a server computer.
SuperContainer Unique Features
Store files anywhere- SuperContainer allows you to easily set a base directory where your files will be stored. This can be located anywhere on the computer where SuperContainer is running, or even on a network storage volume. FileMaker Server 12 always stores files inside the FileMaker Server data directory (FileMaker Pro, not running in Server, allows you to set any base directory).
Deploy on any computer- SuperContainer can be deployed either on the same computer as FileMaker Server, or on a separate dedicated storage server. With FileMaker 12, all files must be stored on the same computer as FileMaker Server.
Web File Uploads- SuperContainer allows users to easily upload files from their web browser, either by clicking an 'upload' button or by dragging and dropping files into their web browser. FileMaker 12 container fields are read-only on the web.
Encryption during transmission- SuperContainer offers SSL encryption when transferring files. FileMaker can optionally SSL encrypt while transferring files, but that requires all database content to also be SSL encrypted, and causes streaming support to be disabled.
Browser access- SuperContainer supports access to content from the web, independent of FileMaker web publishing. Since SuperContainer paths are just URLs, users can easily view assets in a web browser, and it is easy to use them in any web site. SuperContainer URLs can also be emailed and transferred separately from FileMaker record data.
PHP or Java compatibility- Only SuperContainer offers PHP and Java APIs for easy integration with non-FileMaker systems.
Compatible with legacy systems- SuperContainer is compatible with FileMaker 8.5 - 11. Meanwhile, enhanced containers are only available in FileMaker 12, and advanced features like streaming audio and video files requires FileMaker Server 12.
SuperContainer is available for purchase at360works.com/supercontainer. The Workgroup License ($195) includes a single server deployment for up to 10 users, while the Enterprise License ($695) allows a single server deployment and unlimited users plus support for FileMaker Server scheduled scripts and web publishing.
Located in metro Atlanta, 360Works, a FileMaker Platinum Business Alliance member, has been providing FileMaker-based solutions for 15 years. The company is a leading developer of both shrink-wrapped and custom database design solutions for clients such as NASA, Pixar, US Marines, Make-A-Wish foundation and others. The company is credited for its forward-thinking solutions, dedication and unparalleled client service.
The Staff, 360Works