>
Don't Cache your SWF
Welcome, Guest

by Sandeep Bhardwaj on Friday, 21 November 2008
Don't Cache your SWF


Have you ever wondered, how not to cache your SWF file in user machine? If it’s not cached, it help us in following ways • Every time a client open a page, will get new SWF • User can not copy your SWF from temp folder and decompile it • It adds additional security to your hard work. Here is the way around:- Don’t give the direct http path of SWF file when you embed, use a server side proxy code to request content of the FILE That server side will deliver and secure your file on server. It’s like abstracting other request from direct access to your SWF files. And change the response header to not to cache A sample code in PHP can be like $filename = "test_cache.swf"; header('Content-type: application/x-shockwave-flash'); header("Expires: Thu, 01 Jan 1970 00:00:00 GMT, -1 "); header("Cache-Control: no-cache, no-store, must-revalidate"); header("Pragma: no-cache"); $content = file_get_contents($filename); echo$content;



Blogger Image
My Blog Title

Product Engineering, software engineering company, Product Development, Product Migration, Product Re-engineering, Product Maintenance, Product Testing Commercial Application Development, Business Software development, commercial software for startups, Application Support and Maintenance, software testing Product Maintenance, Outsource product maintenance, product support and maintenance Product Migration, Product Re-engineering, product re-engineering services Product Research, Product Engineering, UI Prototyping Services Software Testing Services, Quality Assurance services, professional software testers, Load Testing, Functional Testing, Cross Platform, Browser Testing, Test Automation, Testing Tools, software quality analysis Functional Testing Services, software quality analysis, Software Testing Services, Application Testing Services, Functional Testing Types Automated Testing, Automated Testing Services, automation testing, test script development, Automation Test Tools, outsource automation testing Load Testing, Performance Testing Services, Load Testing Tools Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Benefits of IT Outsourcing, Offshore Software Development companies, offshore software development firms Outsource planning, IT outsourcing, IT development services, offshore IT companies, offshore software development Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering