March 7, 20206 yr Hi - please excuse my ignorance but really need some advice - apologies if this is a really basic question, but I have a small desktop app that I want to be able to store on a webserver and allow users to run it on the web server (which is accessible to anyone on the Internet). So they wouldn't run it on their local machine. So I don't want them downloading the app - just to be able to run it. I also want users' access to this app (in terms of how many hours or days) they can access it for) controlled by a payment mechanism - i.e. they can run the app as many times as they want but within a 24 hour period which is based on them paying a set amount via Paypal etc before they access it. I have various web hosting accounts on Wordpress, Wix plus an Amazon bucket, so am not sure if these are suitable/offer this ability. Is there a simple solution to set this up? Or would it require extensive web development etc to sort out? I am not a coder and so if there's anything off the shelf that do this I would prefer this. Many thanks!
March 7, 20206 yr What you want it's hugely complicated but it's not really a DIY project. Setting up payments is simple enough, you just need a business PayPal account. You then need a login system which vertifies they have paid - nothing complicated here You then need to log how long they use the app - this is where you need some thought and all the usage data would have to be stored in a database table so you can track users and devices. for example, I could login on my desktop, logout an hour later then use my phone then back to the desktop. forget to sign out then try to login on my phone. You need to manage all possible combinations. Including using multiple devices at the same time. And is it 24 hours from first logon or 24 hours midnight to midnight? What's also not clear is if it's standalone app or if you need to run it via a website. If it's the former you would need to rework the app. if it's the latter your life becomes a lot simpler. But to answer your question about extensive development - it all depends on the exact spec. It might be cheap or it might costs thousands.
March 7, 20206 yr Author Thanks for your last. To clarify - I want to set it up so that the user can only use the app (as many times as they want) but within a set period of time eg midnight to midnight the next day. The app only needs Firefox to run (on my local machine) and does not need any `installation' or other dependencies.
March 7, 20206 yr Is that midnight to midnight locally or just GMT? People can use any browser and any device which makes it more complicated. You would need to build all the login, payment and verification functions into the app. which means this has gone from a low cost project to something a lot more expensive.
March 7, 20206 yr Author Thanks - it could be any time frame eg 7 days, 30 days, 1 day etc. Couldn't there be a front end controlling access to the app (via a payment/subscription mechanism) which is on a webserver? I was hoping there was an off the shelf solution somewhere...
March 7, 20206 yr No, this will be 100% bespoke. When someone accesses the app via a browser they should see a login/payment screen which if completed let’s them use the app for a set time period. All of this is part of the app. If you want to separate the app from the administrative functionality you would need to build a website and hide the app in the background. There are lots of ways to do what you want. The cost will depend on how complex you want it to be. It’s quite likely you will never recoup the money. In fact your marketing cost may well dwarf the development costs.
March 7, 20206 yr Author Many thanks - I like the idea of separating the app from the administrative functionality but the question is - is there anything already out there that could do this on my behalf? I wont have any marketing costs etc. but I am on a tight budget. Does Wordpress or similar offer anything like this? Or is there any other service out there that could? many thanks
March 7, 20206 yr You can get most of the components via various Wordpress plugins but you won’t find the whole as an off the shelf product. And you will still need to modify the app so it integrates with the payment/login system. If you budgeted £300-£400 for the work you won’t be far out. Its the time limitation module that’s going to eat up most of the money. I’ve built these sort of things before and whilst not difficult to do they are time consuming.
March 9, 20206 yr On 3/7/2020 at 6:11 PM, fisicx said: You can get most of the components via various Wordpress plugins but you won’t find the whole as an off the shelf product. And you will still need to modify the app so it integrates with the payment/login system. If you budgeted £300-£400 for the work you won’t be far out. Its the time limitation module that’s going to eat up most of the money. I’ve built these sort of things before and whilst not difficult to do they are time consuming. You absolutely wouldn't want to use WordPress for a project like this. WordPress is suitable for brochure sites but anything beyond that it's a poor choice given the tools and frameworks available to people. For authentication use a service like Auth0. You wouldn't want to build a bespoke one here. How you handle permissions etc should be fairly straightforward I'd have thought on the client as Auth0 sends JSON Web Tokens (JWT) as part of the payload which can contain additional user information such as a timestamp. You can also use services for payment such as Stripe. Another reason to use a service is that security is paramount and it's not so easy to get it right, you need a certain level of resilience there especially when dealing with people's money. You'd expect a service provider such as Stripe to have the talent on board (who likely get paid £100k+/y for their expertise) to know what they're doing. Either way the above services simplify things but you'll still need some quite extensive coding. I'd charge A LOT more than £300-400 for this if it were me. Add another zero and you're in the right sort of ballpark. Edited March 9, 20206 yr by rbrtsmith
March 9, 20206 yr 38 minutes ago, rbrtsmith said: You absolutely wouldn't want to use WordPress for a project like this. I agree. But he has a limited budget so doesn't have the funds to do it properly. Which is why alternatives should be considered.
March 9, 20206 yr On 3/7/2020 at 11:05 AM, mthorn said: I have a small desktop app that I want to be able to store on a webserver and allow users to run it on the web server I'm really curious what you mean by this. Do you want a native Windows or Mac app to be accessible in a browser, or do you mean a web app? In any case as long as your database is on the web you can control access through APIs and handle authentication through more stateless methods like JWTs. On 3/7/2020 at 6:11 PM, fisicx said: If you budgeted £300-£400 for the work you won’t be far out. I honestly can't see how anyone could do a good job for that amount, you would have to hire someone with an incredibly low hourly rate to get something that works and is properly tested. Permissions based data is something you want to have a lot of tests around because it can be extremely harmful to the business if data leaks into other accounts. You could smash something together in WordPress but nothing about that idea sounds like the right way to it. Sometimes you can't have the right system you need for your budget and you simply just need a bigger budget, not to cut corners.
March 10, 20206 yr 22 hours ago, Jack said: I honestly can't see how anyone could do a good job for that amount, you would have to hire someone with an incredibly low hourly rate to get something that works and is properly tested. Permissions based data is something you want to have a lot of tests around because it can be extremely harmful to the business if data leaks into other accounts. You could smash something together in WordPress but nothing about that idea sounds like the right way to it. Sometimes you can't have the right system you need for your budget and you simply just need a bigger budget, not to cut corners. I agree 100% with your assertion, for that kind of price it will just be a sh!t show. Things like this that are involving people's money and private details needs to be built properly and with rigorous tests and a person with the ability to do that to an acceptable standard will be charging at least 10x this, if not more. You pay for what you get and the last thing you'd want is a law suit against you and your professional reputation in tatters. If you don't have the budget then either save, borrow or seek investment for your idea. Like Jack says some things you absolutely should not cut corners on. Using and paying for existing services that are specifically designed for a purpose is fine and probably better than building yourself. Take Auth0 for authentication, Stripe for payments. But using WordPress as an interface for them is asking for trouble as it's not designed to do this, yes you can hack around it to give your surface results but that's a massive gamble with other people's security. Edited March 10, 20206 yr by rbrtsmith
March 10, 20206 yr I've done limited access stuff like this for logged in members. All I did was use the timestamp of the payment to allow x hours access to the content, using a simple calculation on the time (payment time + 24 hours). Took me 2 minutes to code up in ExpressionEngine, literally
Create an account or sign in to comment