I'm pretty sure this can be done, but I'm honestly not sure where to begin. I've looked for tutorial after tutorial but still no use.I have a cloud host, I know my Actionscript, My PHP and everything.If somebody could just point me in the right direction I would be very grateful.Thank you!
Yes you can: "Shared objects offer real-time data sharing between multiple client SWF files and objects that are persistent on the local computer or remote server. Local shared objects are similar to browser cookies and remote shared objects are similar to real-time data transfer devices. To use remote shared objects, you need Adobe Flash Media Server." (http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/SharedObject.html)
How you do this on Adobe Flash Media Server 4.5: http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0773d37a-7ffaDev.html
or Red5: http://www.youtube.com/watch?v=0MuLnMKYe9k&feature=share&list=PL310F0481BCE4D194
and Simple Remote Shared Object with Red5 Flash Server
Related
I and My team are working on a project where our main task is to block the browser or particular website to have upload access. For eg, if we go to Facebook and want to upload a new profile picture, the Fb website allow us to open our system directory and traverse through our system file. We want to prevent this access of uploading files on websites.
My friend suggested that it can be done using Windows Driver. I have a basic knowledge of C++, registry, and service API functions. My queries..
Is there any other way to block these upload access by browser?
If Windows Driver can do it, then what should I learn and where to start?
Is it possible using a Storage driver or file system driver?
Thank You
You can write a File System Filter Drivers, which allows you to block some access to files.
I would start in Microsoft Documentation File System Filter Drivers. also, I would recommend reading "Windows Kernel Programming" book by Pavel Yosifovich, it has a couple of chapters on that topic.
I know about xamarin connection with SQLite but it is locally
I need to connect my remotely MySQL database with xamarin.forms (I know about the security issue of this without using web services layer, but i will only use it for my own work)
This plugin is for xamarin.iOS and Xamarin.Android
I cannot add it using dependency service because i cannot add this component to the shared project
So is there any example of connecting MySQL database with xamarin.forms
You can't add references to your shared library. Shared libraries act like a list of files that are directly included in the project. The advantage of shared projects is just, that you do not have to maintain these included files for each project that uses code of the contained files. See the Xamarin documentation for further explanation.
What you have to do, if you want to consume a 3rd party libray within a shared library: Add the library to each project that uses the shared library (e.g. your iOS and Android project)
2ct to the mentioned security issue
You are right about the security issue. That's why I'd advice against, using mysql directly from your app. (I'll explain it for other readers that aren't aware of this problem and stumble over this question)
You should tunnel it through HTTPS because:
Some networks just block certain ports (HTTP and HTTPS are usually not blocked)
You publish your credentials with your app either statically or dynamically, but the credentials to your database are interceptable either way. You should authenticate a user and not an app. So there should be some kind of authentication / authorization that is revokeable. There was a nice talk from Kerry Lothrop on the Xamarin Evolve 2016 on this topic. https://www.youtube.com/watch?v=uLFtQHNxGaI
I have a Wifi connection for several Android and PC devices without internet connectivity.
All of the devices need to collaboratively modify the same data (something like editing google docs file online for several users).
PCs work with pure HTML5 app, Androids with hybrid HTML5/native.
I need to create an effective way to synchronize the data in real time without having centralized server.
The date exchange has to be secure, so no unauthorized connections could read the shared data.
The only idea I got is to have some kind of UDP broadcast via sockets, but it's not possible with WebSockets for HTML5, so I have to figure out another solution. Maybe some peer to peer replication of DB or file sharing.
You can use adobe RTMFP channel to broadcast the data to multiple peers either over LAN or internet. It only needs the flash player installment on android & PC. Another alternative is webrtc but it requires broker server to establish the connection.
I'm trying to load a local video to display it and I'm having this error ( Error #2148) at runtime, I have read in many places what this problem is, about flash security and all that stuff but there's no solution anywhere and some people say that it can't be done.
My swf works fine when loading from internet, I have my cross-domain on my server but is completely necessary for me to create a standalone version which can run without internet connection and load the videos from file system.
May be with different compiling options? I'm using Flash Builder 4.6
Any idea how could I achive a local resource loading?
P.D. I know that the trusted folder can resolve the problem but that implies a configuration change in every computer it runs and I need it to be portable like in a USB to run on any computer that has Flash Player.
I recently created a web application with GWT. Then re-used most of the code to create a Swing version of the application that accesses a local database in offline mode. I am now implementing the 'online' mode of the application and want to access the same data as my GWT application.
Any ideas? Considered connecting directly to the MySQL server via SSL, but that's not working and doesn't seem as scalable. Should I use REST?
Any suggestions would be helpful.
To solve this problem in the past, we've used Jersey to create REST Web services which returns protocol buffers. The Swing app would then interact with the protocol buffers. The GWT app would ask for content type 'json' and receive protostuff objects in return. It worked quite well. That way, both apps can communicate with the server in the exact way.
Edit:
To allow your swing app to communicate with GWT-RPC, look at this blog article.